




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!





Decision Trees:
Characteristics of problems suitable for decision-tree learning
Entropy as a Measure of Information Content
Entropy of a random variable: Let X be a random variable that takes on values from the set {x 1 , x 2 ,... , xn} with respective probabilities p 1 , p 2 ,... , pn, where sumipi = 1. Then the entropy of X, H(X), represents the average amount of information contained in X and is defined by
H(X) = −
∑^ n
i=
pi log 2 pi.
Justification for the definition of H(X):
Entropy Example 1: calculate the amount of information contained in a weather forecast if the possibilities include {normal, rain, f og, hot, windy} if there respective probabilities are. 9 ,. 05 ,. 01 , .02, and .02.
Entropy Example 2: recall the 12-balls puzzle. Which of the six possible initial balancing configurations provides the most information to the user?
Entropy of a collection of classified feature vectors: given a set of traning feature vectors S, suppose that the vectors are classified in c different ways, and that pi represents the proportion of vectors in S that belong to the i th class. Then the classification entropy of S is defined as
Entropy(S) = −
∑^ c
i=
pi log 2 pi.
Entropy Example 3: calculate the classification entropy for the following set of feature vectors.
Weight color texture classification medium orange smooth orange heavy green smooth melon medium green smooth apple light red bumpy berry medium orange bumpy orange light red bumpy berry heavy green rough melon medium red smooth apple heavy yellow smooth melon medium yellow smooth orange medium red smooth apple medium green smooth apple medium orange rough orange
Inductive Bias in Decision Tree Learning
Occam’s Razor: when choosing amoung competing theories to explain a set of data, choose the most simplest one that is consistent with the data.
Longer hypothesis also run the risk of overfitting the data. Hypothesis h ∈ H is said to overfit the data if there exists an alternative hypothesis h
′ ∈ H for which h has smaller error than h ′ over the training data, but h ′ outperforms h over the entire distribution of test cases.
Rule post-pruning steps:
Split Information: let A be an attribute, considered here as a discrete set of possible values. Then the split information relative to A and a set of feature vectors S is defined as
∑
a∈A
|Sa| |S|
log
|Sa| |S|
where Sa represents the set of feature vectors v ∈ S such that vA = a.
For attributes that take on many values, using the ratio IG SI((S,AS,A)) instead of IG(S, A) can help avoid favoring many-valued attributes which do not perform well in classifying the data.