#8888th of 105 in ML frameworks and libraries

imbalanced-learn

Re-sampling methods for imbalanced classification datasets, scikit-learn compatible

Stars
7.1k
License
MIT
Last commit
Jun 2026
Last release
Jun 2026
Language
Python

Missed the latest GitHub check; these facts may be older.

Overview

imbalanced-learn is a Python package of re-sampling techniques for classification datasets with strong between-class imbalance. It follows the scikit-learn API and is part of the scikit-learn-contrib projects. Optional support exists for pandas dataframes and TensorFlow/Keras models.

Who it is for: Data scientists training classifiers on skewed tabular data with scikit-learn

Strengths

  • Follows the scikit-learn API, so it fits existing estimators
  • Installable from PyPI and conda-forge
  • Documentation with API reference and examples; JMLR paper to cite
  • MIT license; last release 2026-06-07

Weaknesses

  • Aimed at tabular classification; not for LLM or text workflows
  • Requires Python 3.10+, scikit-learn 1.4.2+ and NumPy 1.25.2+
  • README lists Pytest as a hard dependency
  • README does not list the algorithms; docs must be consulted

What it needs

  • no GPU
  • Needs Python >= 3.10, NumPy >= 1.25.2, SciPy >= 1.11.4, scikit-learn >= 1.4.2, pandas >= 2.0.3 (optional), TensorFlow >= 2.16.1 (optional), Keras >= 3.3.3 (optional)
  • Models: scikit-learn estimators, Keras, TensorFlow

Also in ML frameworks and libraries

See all 105
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning105k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.7k starsAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.092 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT91 out of 100