Calculate the information gain when splitting on A and B. Which attribute would the decision tree induction algorithm choose?

Consider the following data set for a binary class problem.


The contingency tables after splitting on attributes A and B are:





The overall entropy before splitting is:


Eorig = ?0.4 log 0.4 ? 0.6 log 0.6=0.9710


The information gain after splitting on A is:





Computer Science & Information Technology

You might also like to view...

Roger is concerned that a third-party firm hired to develop code for an internal application will embed a backdoor in the code. The developer retains rights to the intellectual property and will only deliver the software in its final form. Which one of the following languages would be least susceptible to this type of attack because it would provide Roger with code that is human-readable in its final form?

A. JavaScript B. C C. C++ D. Java

Computer Science & Information Technology

Asynchronous online communication happens in real-time with two or more people online at the same time

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ____, as shown in the accompanying figure, is what happens when an event is performed to an object.

A. trigger B. task C. action D. result

Computer Science & Information Technology

Describe the Color Burn and Linear Burn blending modes. What do they do?

What will be an ideal response?

Computer Science & Information Technology