Question: (Gain and Entropy) 4a. Given a training data set Y: Y A B C Class 15 1 A C 1 20 3 B C 2
(Gain and Entropy) 4a. Given a training data set Y:
| Y | A | B | C | Class |
| 15 | 1 | A | C1 | |
| 20 | 3 | B | C2 | |
| 25 | 2 | A | C1 | |
| 30 | 4 | A | C1 | |
| 35 | 2 | B | C2 | |
| 25 | 4 | A | C1 | |
| 15 | 2 | B | C2 | |
| 20 | 3 | B | C2 |
Find the best threshold (for the maximal gain) for Attribute A.
Find the best threshold (for the maximal gain) for Attribute B.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
