How does a Balanced Random Forest handle severely imbalanced datasets?
Last updated
A Balanced Random Forest undersamples the majority class separately per tree: each tree trains on a minority bootstrap plus an equal-sized random majority sample.
Trees learn minority regions instead of being dominated by the majority. Different trees see different majority subsets, so little data is lost and diversity rises.
Probabilities are biased toward the minority (recalibrate or tune the threshold). Evaluate with PR-AUC or balanced accuracy. Available as
imblearn.ensemble.BalancedRandomForestClassifier.
- https://imbalanced-learn.org/stable/references/generated/imblearn.ensemble.BalancedRandomForestClassifier.html
- https://medium.com/@fadleemt/balanced-random-forest-d5dc9c896bb4
- https://medium.com/@shradhdha.bhalodia/mastering-imbalanced-datasets-in-machine-learning-effective-techniques-and-solutions-c51c6e32a942