imblearn — Easy Playground
Imbalanced-learn: SMOTE and other tools for imbalanced datasets
Getting started with imblearnRun locally
Install
pip install imbalanced-learnPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: imblearn)
imblearn is a third-party package. Imbalanced-learn: SMOTE and other tools for imbalanced datasets. Install with: pip install imbalanced-learn
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?