00:01
All right, so first off we have the dataset summary, so there's 10 records with class profit, which are up or down.
00:08
There's six down, four up, and then you need to entropy the whole data set, which is s equals negative u p, log 2 p, mu, minus p down, lock 2 p down, and p up is 4 out of 10.
00:35
File p down 6 out of 10.
00:39
So then when you plug everything in, you get, you're just going to plug these into the equation.
00:46
You get s equals 0 .970.
00:49
So that's the base entropy.
00:56
Then you need the information gain for each attribute.
01:00
So there's old, which is 3 down, zero up...