1
GATE AI 2025
MCQ (More than One Correct Answer)
+2
-0

Consider designing a linear binary classifier $f(x)=\operatorname{sign} g\left(w^T x+b\right), x \in \mathbb{R}^2$ on the following training data:

Class -1: $\left\{\binom{2}{0},\binom{0}{2},\binom{2}{2}\right\}$, Class - 2: $\left\{\binom{0}{0}\right\}$

Hard-margin support vector machine (SVM) formulation is solved to obtain $w$ and $b$. Which of the following options is/are correct?

A
$w=\binom{4}{4}$ and $b=1$
B
The number of support vectors is 3
C
The margin is $\sqrt{2}$
D
Training accuracy is $98 \%$
2
GATE AI 2025
MCQ (More than One Correct Answer)
+2
-0

Consider a two-class problem in $R^d$ with class labels red and green. Let $\mu_{\text {red }}$ and $\mu_{\text {green }}$ be the means of the two classes.

Given test sample $x \in R^d$, a classifier calculates

the squared Euclidean distance (denoted by $\|\cdot\|^2$ ) between $x$ and the means of the two classes and assigns the class label that the sample x is closest to. That is, the classifier computes

$$ f(x)=\left\|\mu_{\text {red }}-x\right\|^2-\left\|\mu_{\text {green }}-x\right\|^2 $$

and assigns the label red to $x$ if $f(x)<0$, and green otherwise. Which of the following statements is/are correct?

A
The sample $x=0$ is assigned the label green if $\left\|\mu_{\text {red }}\right\|<\left\|\mu_{\text {green }}\right\|$
B
$f$ is a linear function of $x$
C
$f(x)=w^T x+b$, where $w$ and $b$ are functions of $\mu_{\text {red }}$ and $\mu_{\text {green }}$
D
$f$ is a quadratic polynomial in $x$
3
GATE AI 2025
Numerical
+2
-0

Let $D=\left\{x^{(1)}, \ldots ., x^{(n)}\right\}$ be a dataset of $n$ observations where each $x^i \in \mathbb{R}^{100}$. It is given that $\sum_{i=1}^n x^{(\mathrm{i})}=0$ The covariance matrix computed from $D$ has eigenvalues $\lambda_i=100^{2-i}, 1 \leq i \leq 100$. Let $u \in \mathbb{R}^{100}$ be the direction of maximum variance with $u^T u=1$.

The value of $\frac{1}{n} \sum_{i=1}^n\left(u^T x^{(i)}\right)^2= $_________

Your input ____
4
GATE AI 2025
MCQ (Single Correct Answer)
+1
-0

Consider the following Python declarations of two lists.

$$ \begin{aligned} & A=[1,2,3] \\ & B=[4,5,6] \end{aligned} $$

Which one of the following statements results in $A=[1,2,3,4,5,6]$ ?

A
A.extend(B)
B
A.append(B)
C
A.update(B)
D
A.insert(B)

GATE Data Science and Artificial Intelligence Papers

All year-wise previous year question papers