









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










-^
-^
-^
J=10 J=
A Better Heuristic from Information
Theory
-^
-^
-^
-^
P(X = 1)=p
1
P(X = 0)=p
0
values
possible k are
there if k
k^
P P P P X H P P P P X H
2
0 2
0
1 2 1 0 2 0 log
...
log
) (
log
log
) (
− −
−
Mutual Information
-^
If we use entropy to measure uncertainty, we end up measuring themutual information between a candidate test variable
X
and class
label
Y:
-^
H(Y|X) is called the conditional entropy of Y given X–
Measures the uncertainty of Y after knowing the value of X
Uncertainty of Y Remaining uncertainty of Yafter knowing the value of X
log)
x X y Y P x X y Y P x X P
x X Y H x X P X Y H
x^
y x
∑
∑ ∑
The uncertainty of Y when X=x
The probability of X=x
X^1
P(X
=0)=0.6677 1
P(X
=1)=0.3333 1
H(Y|X
=0) 1
=-0.6log0.6-0.4log0.4=0.**
H(Y|X
=1) 1
=-0.8log0.8-0.2log0.2=0.**
H(Y|X
)= 1
0.66670.9710 + 0.33330.7219 = 0.8873 I(X1,Y)=0.**
Choosing the Best Feature: A General
View
U(S)
U(S
)L
U(S
)R
PL
PR
Benefit of split =
U(S) – [P
*U(SL
)+PL
*U(SR
)]R^
Expected RemainingUncertainty (Impurity)
EntropyGini Index Error
Issues with Multi-nomial Features
-^
-^
features
against the other
)
( log)
(
)
| ( )
(
min arg ) (
) | (
min arg
x X P x X P x X Y H x X P X H
X Y H
j
x
j
j
x
j
j
j j
j^
=
=
−
=
=
=^
∑ ∑
-^
-^
-^