#5 · Primary category: Classical Machine Learning Frameworks
imbalanced-learn
A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning
Project last updated:06/29/26
GitHub Stars
7.1K
Forks
1.4K
Contributors
90
License
MIT
Why we included this project
Most classifiers quietly learn to predict the majority class when one class dwarfs the other, and imbalanced-learn exists to counter that. It sits inside the scikit-learn ecosystem, so teams who already know sklearn's fit/predict pattern can add resampling and ensemble methods like SMOTE, ADASYN, and random under- or over-sampling without learning a new framework. The API mirrors sklearn closely, which makes it easy to drop into existing pipelines and cross-validation loops. For fraud detection, medical diagnostics, churn prediction, or any problem where the rare case is the one that matters, the user guide and example gallery help you pick a sensible strategy. It is a focused, mature library rather than a sprawling framework, which suits teams whose bottleneck is class imbalance, not model architecture.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
scikit-learn
scikit-learn: machine learning in Python
pyod
A Python library for anomaly detection across tabular, time series, graph, text, image, and audio data. 60+ detectors, benchmark-backed ADEngine orchestration, and an agentic workflow for AI agents.
dowhy
DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
umap
Uniform Manifold Approximation and Projection
mlpack
mlpack: a fast, header-only C++ machine learning library