Question: A decision tree is used to predict whether a student is likely to play football using the training data below. The algorithm uses the attribute
A decision tree is used to predict whether a student is likely to play football using the training data below. The algorithm uses the attribute selection method to identify the split that produces more sub-nodes that are homogeneous.
Calculate the Gini index and Information Gain for a split on Gender and a split of Class .Show all your steps.
Determine which split should be used on the decision tree (split for Gender or split for Class attribute) if you use:
Gini index
Information gain
please write all formal that you used it to sovle this quation and how to get the answer 
Students Gender Class Play Football Yes Female Female Female Female Female Female Female Female Male Male Male Male Male Male Male Male Male Male Male Male Yes No No No No No No Yes Yes Yes Yes Yes Yes 3 4 6 10 12 13 14 15 16 17 18 19 20 Yes Yes No No No No
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
