161 views
0 0 votes

$\text { Consider the following set of training examples: }$

\begin{array}{|l|c|c|c|}
\hline \text { Instance } & \text { Classification } & \mathbf{X}_{\mathbf{1}} & \mathbf{X}_{\mathbf{2}} \\
\hline 1 & + & \mathrm{T} & \mathrm{~T} \\
\hline 2 & + & \mathrm{T} & \mathrm{~T} \\
\hline 3 & - & \mathrm{T} & \mathrm{~F} \\
\hline 4 & - & \mathrm{F} & \mathrm{~F} \\
\hline 5 & - & \mathrm{F} & \mathrm{~T} \\
\hline 6 & - & \mathrm{F} & \mathrm{~F} \\
\hline
\end{array}

What is the information gain of $\mathrm{X}_2$ relative to these training examples ?

  1. $\frac{1}{6} \log 3+\frac{1}{3} \log \frac{3}{2}$
     
  2. $ \log 3+\\log \frac{3}{2}$
     
  3. $\frac{2}{6} \log 3+\frac{2}{3} \log \frac{3}{2}$
     
  4. $\frac{1}{6} \log \frac{1}{6}+\frac{1}{3} \log \frac{1}{3}$
     

Please log in or register to answer this question.

Answer:
Position:
Show:

Related questions

0 0 votes
1 1 answer
271
271 views
GO Classes asked Apr 1, 2025
271 views
Calculate the misclassification error rate of a decision tree node containing the following dataset: \begin{array}{c|c}\text { Class } & \text { Count } \\\hline \text { ...
0 0 votes
1 1 answer
205
205 views
GO Classes asked Apr 1, 2025
205 views
Calculate the misclassification error rate of a decision tree node containing the following dataset:\begin{array}{c|c}\text { Class } & \text { Count } \\\hline \text { C...
0 0 votes
1 1 answer
217
217 views
GO Classes asked Apr 1, 2025
217 views
Consider the following dataset with input $x \in \mathbb{R}^3$ and $y \in\{0,1\}$. Both $x_i$ and $y$ are binary random variables.\begin{array}{cccc}x_1 & x_2 & x_3 & \ma...
0 0 votes
1 1 answer
234
234 views
GO Classes asked Apr 1, 2025
234 views
What is the conditional entropy, $H(C \mid A)$, for the following set of 8 training examples.Use $\log 0.1=-3.3, \log 0.2=-2.3, \log 0.25=-2.0, \log 0.3=-1.74, \log 0.33=...