Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For each of the nodes below, compute the Gini Index & Entropy given their class distributions. Node 1 contains 30 data points 17 points belong
For each of the nodes below, compute the Gini Index & Entropy given their class distributions.
Node 1 contains 30 data points
17 points belong to class C1
13 points belong to class C2
Node 1 | |
C1 | 17 |
C2 | 13 |
Node 2 contains 30 data points
12 points belong to class C1
18 points belong to class C2
Node 2 | |
C1 | 12 |
C2 | 18 |
Node 3 contains 30 data points
15 points belong to class C1
15 points belong to class C2
Node 3 | |
C1 | 15 |
C2 | 15 |
How do the Gini values for the three nodes compare?
Which node is the purest?
Which node has the highest level of impurity?
Can you reach the same results from looking at the Entropy values?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started