GATE 2024 Data Science and Artificial Intelligence (DA) Questions with Solutions

GATE 2024

64 questions

MCQ 36 · MSQ 12 · NAT 161-mark 29 · 2-mark 35

Questions 16–20 of 64

Q17Classification1 markMCQ−0.33 if wrong
Consider the dataset with six datapoints: {(x1,y1),(x2,y2),…,(x6,y6)}\left\{\left(\boldsymbol{x}_{1}, \boldsymbol{y}_{1}\right),\left(\boldsymbol{x}_{2}, \boldsymbol{y}_{2}\right), \ldots,\left(\boldsymbol{x}_{6}, \boldsymbol{y}_{6}\right)\right\}, where x1=[10],x2=[01],x3=[0−1],x4=[−10],x5=[22],x6=[−2−2]x_{1}=\left[\begin{array}{l}1 \\ 0\end{array}\right], x_{2}=\left[\begin{array}{l}0 \\ 1\end{array}\right], x_{3}=\left[\begin{array}{c}0 \\ -1\end{array}\right], x_{4}=\left[\begin{array}{c}-1 \\ 0\end{array}\right], x_{5}=\left[\begin{array}{l}2 \\ 2\end{array}\right], x_{6}=\left[\begin{array}{l}-2 \\ -2\end{array}\right] and the labels are given by y1=y2=y5=1\boldsymbol{y}_{1}=\boldsymbol{y}_{2}=\boldsymbol{y}_{5}=1, and y3=y4=y6=−1\boldsymbol{y}_{3}=\boldsymbol{y}_{4}=\boldsymbol{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?

Q18Regression1 markMCQ−0.33 if 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) Naive Bayes Classification(ii) Dimensionality Reduction(r) Logistic Regression(iii) Generative Model\begin{array}{|l|l|} \hline \textbf{Column 1} & \textbf{Column 2} \\ \hline \text{(p) Principal Component Analysis} & \text{(i) Discriminative Model}\\ \hline \text{(q) Naive Bayes Classification} & \text{(ii) Dimensionality Reduction}\\ \hline \text{(r) Logistic Regression} & \text{(iii) Generative Model}\\ \hline \end{array}

Q19Clustering1 markMCQ−0.33 if wrong
Euclidean distance based kk-means clustering algorithm was run on a dataset of 100 points with k=3k=3. If the points [11]\left[\begin{array}{l}1 \\ 1\end{array}\right] and [−11]\left[\begin{array}{c}-1 \\ 1\end{array}\right] are both part of cluster 3, then which ONE of the following points is necessarily also part of cluster 3?

Q20Classification1 markMCQ−0.33 if wrong
Given a dataset with KK binary-valued attributes (where K>2K>2 ) for a two-class classification task, the number of parameters to be estimated for learning a na?ve Bayes classifier is

Q21Hash Tables1 markMCQ−0.33 if wrong
Consider performing uniform hashing on an open address hash table with load factor α=nm<1\alpha=\frac{n}{m}<1, where nn elements are stored in the table with mm slots. The expected number of probes in an unsuccessful search is at most 11−α\frac{1}{1-\alpha}.
Inserting an element in this hash table requires at most _________ probes, on average.