Python
Pt Feature Label
A 7 0
B 10 1
C 4 0
D 10 0
E 16 1
F 9 1
(a) Calculate the gini index of the Dataset.
(b) If we split on 8, what is the overall gini index after splitting?
(c) If we split on 13, what is the overall gini index after splitting?