Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If given attribute X in a dataset has 150 N (No) and 350 Y (yes) values and 135 out of the 150 N correspond

 

If given attribute X in a dataset has 150 N (No) and 350 Y (yes) values and 135 out of the 150 N correspond to the H label while only 65 out of the 350 correspond to the H label. Compute the gini impurity of each of the two children nodes for attribute X and the gini gain of X

Step by Step Solution

3.40 Rating (162 Votes )

There are 3 Steps involved in it

Step: 1

Solution 150N 350Y 135H 65H n150 nH135 nH15013515 pH in N13515009 pH in N1515001 n350 nH65 nH... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Optics

Authors: Eugene Hecht

5th edition

133977226, 133979121, 978-0133977226

More Books

Students also viewed these Accounting questions