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.A decision tree is used to predict whether a student is likely

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!