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 61–64 of 64

Q62Classification2 marksNAT
Details of ten international cricket games between two teams "Green" and "Blue" are given in Table C. This table consists of matches played on different pitches, across formats along with their winners. The attribute Pitch can take one of two values: spin-friendly (represented as SS ) or pace-friendly (represented as FF ). The attribute Format can take one of two values: one-day match (represented as OO ) or test match (represented as T).
A cricket organization would like to use the information given in Table C to develop a decision-tree model to predict outcomes of future games between these two teams.
To develop such a model, the computed InformationGain(C, Pitch) with respect to the Target is _________ (rounded off to two decimal places).

Table C Match NumberPitchFormatWinner (Target)1STGreen2STBlue3FOBlue4SOBlue5FTGreen6FOBlue7SOGreen8FTBlue9FOBlue10SOGreen\begin{array}{c} \textbf{Table C } \\ \begin{array}{|c|c|c|c|} \hline \textbf{Match Number} & \textbf{Pitch} & \textbf{Format} & \textbf{Winner (Target)} \\ \hline 1 & S & T & \text{Green} \\ \hline 2 & S & T & \text{Blue} \\ \hline 3 & F & O & \text{Blue} \\ \hline 4 & S & O & \text{Blue} \\ \hline 5 & F & T & \text{Green} \\ \hline 6 & F & O & \text{Blue} \\ \hline 7 & S & O & \text{Green} \\ \hline 8 & F & T & \text{Blue} \\ \hline 9 & F & O & \text{Blue} \\ \hline 10 & S & O & \text{Green} \\ \hline \end{array}\end{array}

Q63Classification2 marksNAT
Given the two-dimensional dataset consisting of 5 data points from two classes (circles and squares) and assume that the Euclidean distance is used to measure the distance between two points. The minimum odd value of kk in kk nearest neighbor algorithm for which the diamond (⋄\diamond) shaped data point is assigned the label square is ______.

(2,3)(3,3) (3,2)(1,2) (1,1)(2,1) 321 123

Q64Reasoning Under Uncertainty2 marksNAT
Given the following Bayesian Network consisting of four Bernoulli random variables and the associated conditional probability tables: decimal places).

U V W Z


P(⋅)U=00.5U=10.5\begin{array}{|c|c|} \hline & P(\cdot) \\ \hline U = 0 & 0.5 \\ \hline U = 1 & 0.5 \\ \hline \end{array}

P(V=0∣⋅)P(V=1∣⋅)U=00.50.5U=10.50.5\begin{array}{|c|c|c|} \hline & P(V=0|\cdot) & P(V=1|\cdot) \\ \hline U = 0 & 0.5 & 0.5 \\ \hline U = 1 & 0.5 & 0.5 \\ \hline \end{array}
P(W=0∣⋅)P(W=1∣⋅)U=010U=101\begin{array}{|c|c|c|} \hline & P(W=0|\cdot) & P(W=1|\cdot) \\ \hline U = 0 & 1 & 0 \\ \hline U = 1 & 0 & 1 \\ \hline \end{array}

P(Z=0∣⋅)P(Z=1∣⋅)V=0W=00.50.5V=0W=110V=1W=010V=1W=10.50.5\begin{array}{|c|c|c|c|} \hline & & P(Z=0|\cdot) & P(Z=1|\cdot) \\ \hline V=0 & W=0 & 0.5 & 0.5 \\ \hline V=0 & W=1 & 1 & 0 \\ \hline V=1 & W=0 & 1 & 0 \\ \hline V=1 & W=1 & 0.5 & 0.5 \\ \hline \end{array}

The value of P(U=1,V=1,W=1,Z=1)P(U=1, V=1, W=1, Z=1)= ______ (rounded off to three decimal places).

Q65Expectation, Variance and Covariance2 marksNAT
Two fair coins are tossed independently. XX is a random variable that takes a value of 1 if both tosses are heads and 0 otherwise. YY is a random variable that takes a value of 1 if at least one of the tosses is heads and 0 otherwise.
The value of the covariance of XX and YY is _________ (rounded off to three decimal places).