368 views
2 2 votes

Consider the following binary classification dataset with two features $f_1$ and $f_2$. The data points given the labels follow the Gaussian distribution. The dataset is given as

\[
\begin{array}{|l|l|l|}
\hline
f_1 & f_2 & \text{label } y \\
\hline
0.5 & 1.3 & 1 \\
0.7 & 1.1 & 1 \\
1.3 & 2.0 & 0 \\
2.3 & 2.4 & 0 \\
\hline
\end{array}
\]

Based on this data, what is the estimated mean vector for the class with label $\mathbf{y}=0$, denoted as $\hat{\mu}_0$ ?

  1. $(1.8, 2.2)$
     
  2. $(0.6,1.2)$
     
  3. $(2.0,2.0)$
     
  4. $(0.8,1.2)$

1 Answer

0 0 votes
$\begin{aligned} \hat{\mu}_0 & =\frac{\sum_{i=1}^n \mathbb{1}\left(y_i=0\right) x_i}{\sum_{i=1}^n \mathbb{1}\left(y_i=0\right)} \\ & =\frac{(1.3,2.0)+(2.3,2.4)}{2} \\ & =(1.8,2.2)\end{aligned}$
Answer:
Position:
Show:

Related questions

0 0 votes
1 1 answer
311
311 views
GO Classes asked Oct 6, 2025
311 views
Consider a binary classification dataset containing two features $f_1$ and $f_2$. The feature $f_1$ is categorical which can take three values and the feature $f_2$ is nu...
0 0 votes
1 1 answer
292
292 views
GO Classes asked Oct 6, 2025
292 views
Consider the following binary classification dataset with two features $f_1$ and $f_2$. The data points given the labels follow the Gaussian distribution. The dataset is ...
3 3 votes
1 1 answer
279
279 views
GO Classes asked Oct 6, 2025
279 views
Consider a binary classification dataset with two binary features, $f_1$ and $f_2$. The $f_2$ feature values are 0 for all label '$0$' examples but the label '$1$' exampl...
5 5 votes
1 1 answer
362
362 views
GO Classes asked Oct 6, 2025
362 views
Consider a binary classification dataset contains only one feature and the data points given the label follow the given distribution$$\begin{aligned}& x \mid(y=0) \sim \m...