What is class imbalance impact on Decision Trees?

Updated May 16, 2026

Short answer

Class imbalance can bias Decision Trees toward majority classes, reducing minority class detection.

Deep explanation

Decision Trees optimize impurity reduction, so they tend to favor splits that improve accuracy on majority classes. In imbalanced datasets, minority classes may be ignored because their contribution to impurity reduction is small. Techniques like class weighting, resampling, or adjusting decision thresholds are needed to mitigate this.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Decision Trees interview questions

View all →