Machine Learning questions — page 1 of 2

Q11

GATE DA 2026 DADimensionality ReductionMCQ1 mark−1/3 if wrong

Report a problem with Q11

What is wrong?
For 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 θ\theta between the first and the tenth principal components?
Show answer without attempting

Loading the answer…

Q12

GATE DA 2026 DAModel EvaluationMCQ1 mark−1/3 if wrong

Report a problem with Q12

What is wrong?
Consider 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?
Show answer without attempting

Loading the answer…

Q23

GATE DA 2026 DAClusteringMSQ1 mark

Report a problem with Q23

What is wrong?
In 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
TaskAlgorithm
T1 – ClusteringA1 – Markov Chain Monte Carlo
T2 – ClassificationA2 – K-Medoid
T3 – SamplingA3 – Linear Discriminant Analysis
T4 – Feature ExtractionA4 – Naive Bayes
Which of the following options is/are the correct matching(s)?
More than one option can be correct.
Show answer without attempting

Loading the answer…

Q29

GATE DA 2026 DARegressionNAT1 mark

Report a problem with Q29

What is wrong?
Consider that for a supervised learning task, the objective function being minimized is fw(x)=wxf_w(x) = wx, where x∈Rx \in \mathbb{R} is the input and w∈Rw \in \mathbb{R} is the parameter. Stochastic Gradient Descent with learning rate of 0.10 is used for parameter updates.
Suppose that at the end of iteration ii, the value of ww becomes 10.00.
Let x=10.00x = 10.00 be the input for iteration (i+1)(i + 1).
The value of ww at the end of iteration (i+1)(i + 1) is __________ . (Rounded off to two decimal places)
Show answer without attempting

Loading the answer…

Q36

GATE DA 2026 DAClusteringMCQ2 marks−2/3 if wrong

Report a problem with Q36

What is wrong?
Let four points in three-dimensional space be:
P1: [2,3,−1][2, 3, -1], P2: [3,1,1][3, 1, 1], P3: [5,−2,3][5, -2, 3] and P4: [3,3,3][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?
Show answer without attempting

Loading the answer…

Q37

GATE DA 2026 DARegressionMCQ2 marks−2/3 if wrong

Report a problem with Q37

What is wrong?
Which of the following statements is true for Ridge Regression?
Show answer without attempting

Loading the answer…

Q47

GATE DA 2026 DAModel EvaluationMSQ2 marks

Report a problem with Q47

What is wrong?
Consider 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?
More than one option can be correct.
Show answer without attempting

Loading the answer…

Q55

GATE DA 2026 DARegressionNAT2 marks

Report a problem with Q55

What is wrong?
Consider that Linear Ridge Regression is being used to learn a prediction function ypred=wTxy_{\text{pred}} = w^T x, where w,x∈R2w, x \in \mathbb{R}^2 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 w=[−3.00,4.00]Tw = [-3.00, 4.00]^T. In the next step, for the input x=[1.00,2.00]Tx = [1.00, 2.00]^T, the predicted value of yy is noted. Let the relation between x=[x1,x2]Tx = [x_1, x_2]^T and the true value of yy be ytrue=x1+x2y_{\text{true}} = x_1 + x_2.
The value of the overall regularized loss function for this instance is _______ . (Rounded off to two decimal places)
Show answer without attempting

Loading the answer…

Q56

GATE DA 2026 DANeural NetworksNAT2 marks

Report a problem with Q56

What is wrong?
Consider 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)
Show answer without attempting

Loading the answer…

Q22

GATE DA 2025 DAClassificationMCQ1 mark−1/3 if wrong

Report a problem with Q22

What is wrong?
Consider designing a linear classifier
y=sign(f(x;w,b)),f(x;w,b)=w⊤x+by = \text{sign}(f(x;w, b)), \quad f(x;w, b) = w^\top x + b
on a dataset D={(x1,y1),(x2,y2),…,(xN,yN)},xi∈Rd,yi∈{+1,−1},i=1,2,…,ND = \{(x_1, y_1), (x_2, y_2), \ldots, (x_N, y_N)\}, x_i \in \mathbb{R}^d, y_i \in \{+1, -1\}, i = 1, 2, \ldots, N. Recall that the sign function outputs +1+1 if the argument is positive, and −1-1 if the argument is non-positive. The parameters ww and bb are updated as per the following training algorithm:
wnew=wold+ynxn,bnew=bold+ynw_{\text{new}} = w_{\text{old}} + y_nx_n, \quad b_{\text{new}} = b_{\text{old}} + y_n
whenever sign(f(xn;wold,bold))≠yn\text{sign}(f(x_n; w_{\text{old}}, b_{\text{old}})) \neq y_n. In other words, whenever the classifier wrongly predicts a sample (xn,yn)(x_n, y_n) from the dataset, woldw_{\text{old}} gets updated to wneww_{\text{new}}, and likewise boldb_{\text{old}} gets updated to bnewb_{\text{new}}. Consider the case (xn,+1)(x_n, +1), f(xn;wold,bold)<0f(x_n; w_{\text{old}}, b_{\text{old}}) < 0. Then
Show answer without attempting

Loading the answer…

Q30

GATE DA 2025 DAClusteringMSQ1 mark

Report a problem with Q30

What is wrong?
Let C1C_1 and C2C_2 be two sets of objects. Let D(x,y)D(x, y) be a measure of dissimilarity between two objects xx and yy. Consider the following definitions of dissimilarity between C1C_1 and C2C_2.
DIS-1(C1,C2)=max⁡x∈C1,y∈C2D(x,y)\text{DIS-1}(C_1, C_2) = \max_{x \in C_1, y \in C_2} D(x, y)
DIS-2(C1,C2)=min⁡x∈C1,y∈C2D(x,y)\text{DIS-2}(C_1, C_2) = \min_{x \in C_1, y \in C_2} D(x, y)
Which of the following statements is/are correct?
More than one option can be correct.
Show answer without attempting

Loading the answer…

Q34

GATE DA 2025 DARegressionNAT1 mark

Report a problem with Q34

What is wrong?
Given data {(−1,1),(2,−5),(3,5)}\{(-1, 1), (2, -5), (3, 5)\} of the form (x,y)(x, y), we fit a model y=wxy = wx using linear least-squares regression. The optimal value of ww is __________ (Round off to three decimal places)
Show answer without attempting

Loading the answer…

Q35

GATE DA 2025 DAClassificationNAT1 mark

Report a problem with Q35

What is wrong?
The naive Bayes classifier is used to solve a two-class classification problem with class labels y1,y2y_1, y_2. Suppose the prior probabilities are P(y1)=13P(y_1) = \frac{1}{3} and P(y2)=23P(y_2) = \frac{2}{3}. Assuming a discrete feature space with
P(x∣y1)=34andP(x∣y2)=14P(x|y_1) = \frac{3}{4} \quad \text{and} \quad P(x|y_2) = \frac{1}{4}
for a specific feature vector xx. The probability of misclassifying xx is __________ (Round off to two decimal places)
Show answer without attempting

Loading the answer…

Q42

GATE DA 2025 DANeural NetworksMCQ2 marks−2/3 if wrong

Report a problem with Q42

What is wrong?
Consider the neural network shown in the figure with
inputs: u,vu, v
weights: a,b,c,d,e,fa, b, c, d, e, f
output: yy
RR denotes the ReLU function, R(x)=max⁡(0,x)R(x) = \max(0, x).

Given u=2,v=3u = 2, v = 3,
a=1,b=1,c=1,d=−1,e=4,f=−1a = 1, b = 1, c = 1, d = -1, e = 4, f = -1,
which one of the following is correct?
Question figure
Show answer without attempting

Loading the answer…

Q53

GATE DA 2025 DAClassificationMSQ2 marks

Report a problem with Q53

What is wrong?
Consider designing a linear binary classifier f(x)=sign(w⊤x+b)f(x) = \text{sign}(w^\top x + b), x∈R2x \in \mathbb{R}^2 on the following training data:
Class-1: {(20),(02),(22)}\left\{ \begin{pmatrix} 2 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 2 \end{pmatrix}, \begin{pmatrix} 2 \\ 2 \end{pmatrix} \right\}, Class-2: {(00)}\left\{ \begin{pmatrix} 0 \\ 0 \end{pmatrix} \right\}
Hard-margin support vector machine (SVM) formulation is solved to obtain ww and bb. Which of the following options is/are correct?
More than one option can be correct.
Show answer without attempting

Loading the answer…

Q55

GATE DA 2025 DAClassificationMSQ2 marks

Report a problem with Q55

What is wrong?
Consider a two-class problem in Rd\mathbb{R}^d with class labels red and green. Let μred\mu_{\text{red}} and μgreen\mu_{\text{green}} be the means of the two classes. Given test sample x∈Rdx \in \mathbb{R}^d, a classifier calculates the squared Euclidean distance (denoted by ∥⋅∥2\|\cdot\|^2) between xx and the means of the two classes and assigns the class label that the sample xx is closest to. That is, the classifier computes
f(x)=∥μred−x∥2−∥μgreen−x∥2f(x) = \|\mu_{\text{red}} - x\|^2 - \|\mu_{\text{green}} - x\|^2
and assigns the label red to xx if f(x)<0f(x) < 0, and green otherwise. Which of the following statements is/are correct?
More than one option can be correct.
Show answer without attempting

Loading the answer…

Q60

GATE DA 2025 DADimensionality ReductionNAT2 marks

Report a problem with Q60

What is wrong?
Let D={x(1),…,x(n)}D = \{x^{(1)}, \ldots, x^{(n)}\} be a dataset of nn observations where each x(i)∈R100x^{(i)} \in \mathbb{R}^{100}. It is given that ∑i=1nx(i)=0\sum_{i=1}^n x^{(i)} = 0. The covariance matrix computed from DD has eigenvalues λi=1002−i,1≤i≤100\lambda_i = 100^{2-i}, 1 \le i \le 100. Let u∈R100u \in \mathbb{R}^{100} be the direction of maximum variance with u⊤u=1u^\top u = 1. The value of 1n∑i=1n(u⊤x(i))2=\frac{1}{n} \sum_{i=1}^n \left(u^\top x^{(i)}\right)^2 = __________ (Answer in integer)
Show answer without attempting

Loading the answer…

Q17

GATE DA 2024 DAClassificationMCQ1 mark−1/3 if wrong

Report a problem with Q17

What is wrong?
Consider the dataset with six datapoints: {(x1,y1),(x2,y2),…,(x6,y6)}\{(x_1, y_1), (x_2, y_2), \dots, (x_6, y_6)\}, where x1=[10]x_1 = \begin{bmatrix} 1 \\ 0 \end{bmatrix}, x2=[01]x_2 = \begin{bmatrix} 0 \\ 1 \end{bmatrix}, x3=[0−1]x_3 = \begin{bmatrix} 0 \\ -1 \end{bmatrix}, x4=[−10]x_4 = \begin{bmatrix} -1 \\ 0 \end{bmatrix}, x5=[22]x_5 = \begin{bmatrix} 2 \\ 2 \end{bmatrix}, x6=[−2−2]x_6 = \begin{bmatrix} -2 \\ -2 \end{bmatrix} and the labels are given by y1=y2=y5=1y_1 = y_2 = y_5 = 1, and y3=y4=y6=−1y_3 = y_4 = y_6 = -1. A hard margin linear support vector machine is trained on the above dataset.

Which ONE of the following sets is a possible set of support vectors?
Show answer without attempting

Loading the answer…

Q18

GATE DA 2024 DADimensionality ReductionMCQ1 mark−1/3 if wrong

Report a problem with Q18

What is wrong?
Match the items in Column 1 with the items in Column 2 in the following table:
Column 1Column 2
(p) Principal Component Analysis(i) Discriminative Model
(q) Naïve Bayes Classification(ii) Dimensionality Reduction
(r) Logistic Regression(iii) Generative Model
Show answer without attempting

Loading the answer…

Q19

GATE DA 2024 DAClusteringMCQ1 mark−1/3 if wrong

Report a problem with Q19

What is wrong?
Euclidean distance based kk-means clustering algorithm was run on a dataset of 100 points with k=3k = 3. If the points [11]\begin{bmatrix} 1 \\ 1 \end{bmatrix} and [−11]\begin{bmatrix} -1 \\ 1 \end{bmatrix} are both part of cluster 3, then which ONE of the following points is necessarily also part of cluster 3?
Show answer without attempting

Loading the answer…

0/200 correct0 marks

Related topics in GATE DA