Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

imbalanced-learn

Toolbox for handling imbalanced datasets in machine learning.

ML and data science PyPI MIT

Used in agent projects
2
0.1% of 1,622 Python repos built with AI coding agents; 87 counting our dependency samples
Gid Score
54 /100
#1210 of 3,794 tools, #67 in ml and data science · ranking
Rank in ml and data science
#96 of 262
by use in those projects
Downloads
1.4M
PyPI, last 7 days, imbalanced-learn
GitHub stars
7,131
1,381 forks · last push Jun 29, 2026

How imbalanced-learn is used

imbalanced-learn is a dependency in 2 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 87 projects, and what it is used with below comes from all of them. Projects that use it most often also use Matplotlib (95.4%), NumPy (90.8%), joblib (89.7%).

imbalanced-learn popularity over time

Top tools by Gid Score

imbalanced-learn: downloads per weekPyPI, imbalanced-learn 1,382,029
imbalanced-learn: GitHub starsscikit-learn-contrib/imbalanced-learn 7,131

Gid Score 54: downloads 67, use in agent projects 49, GitHub stars 44, downloads trend 46 (each 0-100). How it is calculated.

Often used with imbalanced-learn

Matplotlib95.4% of imbalanced-learn projects · 35.5× more than average
NumPy90.8% of imbalanced-learn projects · 15.6× more than average
joblib89.7% of imbalanced-learn projects · 126.5× more than average
pandas89.7% of imbalanced-learn projects · 20.8× more than average
Jinja285.1% of imbalanced-learn projects · 39.1× more than average
Click83.9% of imbalanced-learn projects · 33.6× more than average

From all 87 projects in our scan that use imbalanced-learn, including the dependency samples.

Install

Alternatives to imbalanced-learn

All ml and data science

In our scan, none of the most used tools in ML and data science does the same job as imbalanced-learn: they are add-ons, companions or tools for a different task.

More in ML and data science: NumPy pandas scikit-learn SciPy PyTorch Sentence Transformers Hugging Face Transformers NetworkX

Is imbalanced-learn right for your project? Ask AgentGid →