









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concept of decision trees, its components, and the id3 algorithm used to create them. It covers decision nodes, leaf nodes, entropy, information gain, and provides examples to illustrate the concepts. It also discusses the use of the calculator for entropy and information gain calculations.
Typology: Slides
1 / 17
This page cannot be seen from the preview
Don't miss anything!










OutLook
Sunny PartiallyCloudy Cloudy
NO (^) Yes Humidty
NO Yes
Video Contains Car
Contains Violence
Rally Cars
Races
GTA 4 Yes Yes No No
Doom No Yes No No
GTA3 Yes Yes No No
Halo 3 Yes Yes No No
Need for Speed
Yes No No Yes
Rally Sport
Yes No Yes No
Video Contains Car
Contains Violence
Rally Cars
Races
GTA 4 Yes Yes No No
Doom No Yes No No
GTA3 Yes Yes No No
Halo 3 Yes Yes No No
Need for Speed
Yes No No Yes
Rally Sport
Yes No Yes No
S = [4Y,2N]
SYes = [0Y,1N] E(SYes ) = 0
SNo = [4Y,1N] E(SNo ) = 0.
Gain (S, Contains Rally Cars) = 0.91829 – [(1/6)0 + (5/6)0.7219] = 0.
S = [4Y,2N]
SYes = [0Y,1N] E(SYes ) = 0
SNo = [4Y,1N] E(SNo ) = 0.
Gain (S, Races) = 0.91829 – [(1/6)0 + (5/6)0.7219] =
Contains Rally Cars
No Yes
Not Races Violent
No Yes
Not Violent Violent