Lets suppose we have a data set which consists of the following three attributes: Attribute A consists
Fantastic news! We've Found the answer you've been seeking!
Question:
Let’s suppose we have a data set which consists of the following three attributes: Attribute A consists of 14 instances for class positive and 6 instances for class negative. Attribute B consists of 0 instances for class positive and 20 instances for class negative. Attribute C consists of 10 instances for class positive and 10 instances for class negative.
Find the Gini Index for attributes A, B, and C?
Which Attribute produces a better split?
Why?
Related Book For
Mathematical Statistics with Applications in R
ISBN: 978-0124171138
2nd edition
Authors: Chris P. Tsokos, K.M. Ramachandran
Posted Date: