Machine learning
A node holds 40 positive and 60 negative examples. What is its Gini impurity?
FoundationNumeric answer
A node holds 40 positive and 60 negative examples. What is its Gini impurity?
Answer with a number. Fractions, powers and expressions like 23/6 or C(52,5) are read correctly in practice.
The worked solution is in Premium
The answer, the full working and the one idea to take away – for this and all 1,322 questions in the bank. Answer it in practice and your working is marked, with a known mistake named when you make one.
Report an issue with this question
Learn the method
Of the kind reported at
More machine learning questions
- Scoring a tree split, part 2 of 3Applied · Premium
- Two features are nearly identical, and a random forest reports low importance for both.Advanced · Premium
- Each tree’s prediction has variance 1 and any two trees’ predictions correlate at 0.3.Advanced · Premium
- Scoring a tree split, part 3 of 3Advanced · Premium
- A node holds 40 positive and 60 negative examples.Foundation · Premium
- Scoring a tree split, part 1 of 3Foundation · Premium