Why is misclassification error rate generally not used as a splitting criterion during tree construction?

Quick Overview

Asks why decision trees are grown with Gini impurity or entropy instead of misclassification error. Tests understanding of the concavity of impurity measures, how ties and zero-gain splits arise, what that does to greedy tree growth, and where error is still the right measure.

Why is misclassification error rate generally not used as a splitting criterion during tree construction?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

Why is misclassification error rate generally not used as a splitting criterion during tree construction? Gini impurity and entropy are the usual choices when a classification tree is grown greedily. Explain what goes wrong if you pick each split by the drop in misclassification error instead. ```hint Shape of the curve For two classes, plot each impurity measure as a function of the class proportion $p$ and compare their shapes, especially away from $p = 0.5$. ``` ```hint A split worth testing Think about a split in which both children keep the same majority class as the parent, but one child is much purer than the parent. ``` ### What a Strong Answer Covers - The definition of misclassification error and why it depends only on the majority class. - The concavity argument for why Gini and entropy reward any gain in purity while error may not. - A concrete pair of splits, or a single split, where error shows a tie or zero gain and Gini or entropy tells them apart. - What this insensitivity does to greedy tree growth. - Where misclassification error is still the right measure. ### Follow-up Questions - Gini and entropy usually pick the same split. When do they differ, and does it matter in practice? - Why is error a sensible measure for cost-complexity pruning even though it is a poor measure for growing? - How do heavily imbalanced classes affect these impurity measures, and how would you adjust for it? - Gradient-boosted trees do not split on class impurity. What quantity do they use instead?

Overview: Asks why decision trees are grown with Gini impurity or entropy instead of misclassification error. Tests understanding of the concavity of impurity measures, how ties and zero-gain splits arise, what that does to greedy tree growth, and where error is still the right measure.

General logo
General
Nov 25, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

Why is misclassification error rate generally not used as a splitting criterion during tree construction?

Gini impurity and entropy are the usual choices when a classification tree is grown greedily. Explain what goes wrong if you pick each split by the drop in misclassification error instead.

What a Strong Answer Covers Guidance

  • The definition of misclassification error and why it depends only on the majority class.
  • The concavity argument for why Gini and entropy reward any gain in purity while error may not.
  • A concrete pair of splits, or a single split, where error shows a tie or zero gain and Gini or entropy tells them apart.
  • What this insensitivity does to greedy tree growth.
  • Where misclassification error is still the right measure.

Follow-up Questions Guidance

  • Gini and entropy usually pick the same split. When do they differ, and does it matter in practice?
  • Why is error a sensible measure for cost-complexity pruning even though it is a poor measure for growing?
  • How do heavily imbalanced classes affect these impurity measures, and how would you adjust for it?
  • Gradient-boosted trees do not split on class impurity. What quantity do they use instead?