Question: Consider the training examples shown in the following table for a binary classificationproblem.Instance a 1 a 2 a 3 Target Class 1 2 3 4

Consider the training examples shown in the following table for a binary classificationproblem.Instance a1 a2 a3 Target Class123456789T T 1.0T T 6.0T F 5.0F F 4.0F T 7.0F T 3.0F F 8.0T F 7.0F T 5.0++++a) What is the entropy of this collection of training examples with respect to the positiveclass?b) What are the information gains of a1 and a2 relative to these training examples?c) For a3, which is a continuous attribute, compute the information gain for every possiblesplit.d) What is the best split (among a1, a2, and a3) according to the information gain?e) What is the best split (between a1 and a2) according to the Gini index?

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!