Skip to content
ml-recall

#gini-impurity

3 questions from Decision Trees & Ensembles

Timed test

3 questions · 3 min · score and explanations at the end

Take a test
Q 1 / 3Score 0 / 0

Question 1: Short answer

mediumAI-checkedDecision Trees & Ensembles

A decision-tree node holds 10 examples: 6 of class A and 4 of class B (Gini impurity 0.48). A candidate split sends 5 A to the left child and 1 A plus 4 B to the right child. What is the weighted Gini impurity of the two children (weights = fraction of examples in each child)?

a number, 2 decimals