GATE DA Machine Learning PYQ with Solutions
Also searched as: GATE ML PYQ
All 9 Machine Learning questions from the GATE Data Science & Artificial Intelligence (DA) papers, starting with GATE DA 2026, with the official answer key and a step-by-step solution. Machine Learning carries about 14 marks per paper on average. Questions are grouped chapter-wise, newest paper first.
| 2026 |
|---|
| 14 |
Machine Learning: Regression — GATE DA PYQ (2)
- GATE DA 2026 · Q37Machine Learningmcq2 marksWhich of the following statements is true for Ridge Regression?
- A.The regularizer in the objective function of Ridge Regression is used to guard against scenarios where the model works well for the test data, but poorly for the training data.
- B.The regularizer of Ridge Regression uses norm.
- C.Ridge Regression aims to reduce the number of parameters that have negative values.
- D.The regularizer of Ridge Regression may increase the bias of the model, but it helps in reducing the variance in predictions.✓
Open GATE DA 2026 Q37 · discuss this question →Answer: D
Solution
Ridge regression adds to the squared-error loss. - (A) Regularization guards against overfitting: doing well on training data but poorly on test data. The statement has it backwards. False. - (B) Ridge uses the norm; Lasso uses . False. - (C) It shrinks the size of the weights, not their sign. False. - (D) Shrinking the weights adds a little bias but reduces variance: the bias-variance trade-off. True. Answer: (D). - A.
- GATE DA 2026 · Q55Machine Learningnat2 marksConsider that Linear Ridge Regression is being used to learn a prediction function , where and Mean Absolute Error (MAE) is used to measure the prediction error. A weight of 0.20 is associated with the regularizer. At an intermediate step of the training process, assume that the parameter . In the next step, for the input , the predicted value of is noted. Let the relation between and the true value of be . The value of the overall regularized loss function for this instance is _______ . (Rounded off to two decimal places)Open GATE DA 2026 Q55 · discuss this question →
Answer: 6.9 to 7.1
Solution
- Prediction: . - True value: . - MAE for this instance: . - Ridge regularizer (squared norm): . Total loss . Answer: 7.00 (accepted range 6.90 to 7.10).
Machine Learning: Dimensionality Reduction — GATE DA PYQ (1)
- GATE DA 2026 · Q11Machine Learningmcq1 markFor a classification problem, Principal Component Analysis (PCA) has been used to reduce the dimensionality of a feature space from 100 to 10. Which of the following options is true about the angle between the first and the tenth principal components?
- A.
- B.✓
- C.
- D.
Open GATE DA 2026 Q11 · discuss this question →Answer: B
Solution
The principal components are eigenvectors of the (symmetric) covariance matrix. Eigenvectors of a symmetric matrix can always be chosen orthogonal, and PCA returns them as an orthonormal set. So any two different principal components, including the 1st and the 10th, are perpendicular: . Answer: (B). - A.
Machine Learning: Model Selection — GATE DA PYQ (1)
- GATE DA 2026 · Q12Machine Learningmcq1 markConsider that you are training a classifier for a 10-class classification problem. Each input is represented as a 512-dimensional vector. There are 1000 samples, out of which first 100 will be used for testing. Let Leave-One-Out-Cross-Validation (LOOCV) be used for selection of the classifier model before testing. Which of the following options is the correct number of validation splits that will be generated?
- A.10
- B.512
- C.900✓
- D.1000
Open GATE DA 2026 Q12 · discuss this question →Answer: C
Solution
Model selection uses only the training data: samples. The test set is kept aside. LOOCV leaves out one sample at a time, so it creates one split per training sample: 900 splits. The number of classes (10) and the input dimension (512) do not affect this. Answer: (C) 900. - A.
Machine Learning: ML Algorithms Overview — GATE DA PYQ (1)
- GATE DA 2026 · Q23Machine Learningmsq1 markIn the following table, the Task column lists a few tasks related to machine learning. The Algorithm column lists a few algorithms. Each entry "t" from the Task column is to be matched with an appropriate entry "a" from the Algorithm column such that the task "t" can be solved using the algorithm "a". Denote such a match as t:a
Which of the following options is/are the correct matching(s)?Task Algorithm T1 - Clustering A1 - Markov Chain Monte Carlo T2 - Classification A2 - K-Medoid T3 - Sampling A3 - Linear Discriminant Analysis T4 - Feature Extraction A4 - Naive Bayes- A.T1:A4, T2:A3, T3:A1, T4:A2
- B.T1:A2, T2:A4, T3:A1, T4:A3✓
- C.T1:A3, T2:A4, T3:A1, T4:A2
- D.T1:A4, T2:A2, T3:A1, T4:A3
Open GATE DA 2026 Q23 · discuss this question →Answer: B
Solution
- Clustering: K-Medoid (A2), a partition-based clustering method. - Classification: Naive Bayes (A4). - Sampling: Markov Chain Monte Carlo (A1). - Feature extraction: Linear Discriminant Analysis (A3), which projects data onto directions that best separate the classes. Only option (B) has this matching. The others pair K-Medoid with feature extraction or Naive Bayes with clustering, which is wrong. Answer: (B). - A.
Machine Learning: Optimization in ML — GATE DA PYQ (1)
- GATE DA 2026 · Q29Machine Learningnat1 markConsider that for a supervised learning task, the objective function being minimized is , where is the input and is the parameter. Stochastic Gradient Descent with learning rate of 0.10 is used for parameter updates. Suppose that at the end of iteration , the value of becomes 10.00. Let be the input for iteration . The value of at the end of iteration is __________ . (Rounded off to two decimal places)Open GATE DA 2026 Q29 · discuss this question →
Answer: 8.9 to 9.1
Solution
SGD update: . Here , soAnswer: 9.00 (accepted range 8.90 to 9.10).
Machine Learning: Clustering — GATE DA PYQ (1)
- GATE DA 2026 · Q36Machine Learningmcq2 marksLet four points in three-dimensional space be: P1: [2, 3, −1], P2: [3, 1, 1], P3: [5, −2, 3] and P4: [3, 3, 3]. Hierarchical Agglomerative Clustering is used to cluster the above points. If Manhattan Distance is used as the distance metric during clustering, which of the following options indicates the two points that will be merged first?
- A.
- B.
- C.
- D.✓
Open GATE DA 2026 Q36 · discuss this question →Answer: D
Solution
Agglomerative clustering first merges the closest pair. Manhattan distances: - - - - - - The smallest is . Answer: (D). - A.
Machine Learning: Model Evaluation — GATE DA PYQ (1)
- GATE DA 2026 · Q47Machine Learningmsq2 marksConsider that 20 stories of Author X and 10 stories of Author Y were kept together without mentioning the names of the authors. A classifier was then asked to predict the author (X or Y) of each of these stories. Let, out of X's stories, 6 were classified as that of Y. On the other hand, out of Y's stories, 2 were classified as that of X. Considering X and Y as two classes, which of the following statements is/are true?
- A.Accuracy of the classifier is 11/15.✓
- B.Precision of Class X is higher than the Precision of Class Y.✓
- C.Recall of Class X is higher than the Recall of Class Y.
- D.Accuracy of the classifier is 14/15.
Open GATE DA 2026 Q47 · discuss this question →Answer: A, B
Solution
Confusion matrix (rows = actual, columns = predicted):
- Accuracy . So (A) is true and (D) is false. - Precision X and Precision Y . So (B) is true. - Recall X and Recall Y . So (C) is false. Answer: (A), (B).pred X pred Y actual X 14 6 actual Y 2 8 - A.
Machine Learning: Neural Networks — GATE DA PYQ (1)
- GATE DA 2026 · Q56Machine Learningnat2 marksConsider a fully-connected feed-forward multi-layer perceptron. It has 30 neurons in the input layer, followed by two hidden layers and an output layer. The first hidden layer has 4 neurons and the second hidden layer has 3 neurons. The output layer has only one neuron. Assume that no bias parameters are used. The number of learnable parameters in the multi-layer perceptron is __________ . (Answer in integer)Open GATE DA 2026 Q56 · discuss this question →
Answer: 135
Solution
With no biases, each pair of adjacent layers contributes (neurons in) (neurons out) weights:Answer: 135.
Take a Machine Learning chapter-wise test
Pick any chapters and attempt their PYQs with a timer in the GATE interface, with instant analysis — free.
Create free account →