Question: Question One 2 Mark A decision tree is used to predict whether a student is likely to play football using the training data below. The

Question One 2 Mark 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 a) Calculate the Gini index and Information Gain for a split on Gender and a split of Class .Show all your steps for Class attribute) if you use b. Information gain b) Determine which split should be used on the decision tree (split for Gender or split a. Gini index Students Gender ClassPlay Football Female Female Female Female Female Female Female Female Male Male Male Male Male Male Male Male Male Male Male Male Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 10 12 13 14 15 16 17 18 19 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
