Question: Consider the training examples shown in Table 4.8 for a binary classification problem. (a) What is the entropy of this collection of training examples with

Consider the training examples shown in Table 4.8 for a binary classification

problem.

(a) What is the entropy of this collection of training examples with respect

to the positive class

(b) What are the information gains of o1 and o2 relative to these training

examples?

For a3, which is a continuous attribute, compute the information gain for

every possible split.

Consider the training examples shown in Table 4.8 for a binary classification

NOTE: Use python to solve the problems that require any type of calculation.

Table 4.8. Data set for Exercise 3. Instancea1 a a3 Target Class T T 1.0 T T6.0 T F 5.0 F F 4.0 F T 7.0 F T 3.0 F F8.0 T F7.0 F T5.0

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!