A Python library that helps machine learning models cope when one kind of example is much rarer than others.
Your data
Stays on your device
Coding needed
Developers only
Cost
Free
Runs on
Mac, Windows, Linux
Computer
An ordinary computer is fine
On your deviceData stays with you
Drafted with AIWidely usedMostly for developers
What it does
In many datasets one group is rare, such as fraud cases among normal payments. Models trained on such data often ignore the rare group.
imbalanced-learn offers re-sampling techniques that rebalance the data, for example by adding or removing examples. It works alongside the popular scikit-learn library.