Imbalanced Data

Confusion Matrix, Precision, and Recall: A Complete Guide With Python Examples

Confusion Matrix, Precision, and Recall: A Complete Guide With Python Examples

What is a confusion matrix, and how do we get precision and recall from it?...

By Sole Galli, on
Isotonic Regression: A Complete Guide With Python Examples

Isotonic Regression: A Complete Guide With Python Examples

Isotonic regression fits the best monotonic function to your data. Learn how it works, how...

By Sole Galli, on
Cost-Sensitive Learning: Beyond the Accuracy in Imbalanced Classification

Cost-Sensitive Learning: Beyond the Accuracy in Imbalanced Classification

Cost-sensitive learning is threshold shifting. Find out when class weights make sense, when to adjust...

By Sole Galli, on
Class Imbalance in Machine Learning: Definition, Imbalance Ratio and Why It's Rarely the Problem

Class Imbalance in Machine Learning: Definition, Imbalance Ratio and Why It's Rarely the Problem

Class imbalance is rarely the real problem. Learn what it is, what really makes imbalanced...

By Sole Galli, on
Precision-Recall Curves: A Complete Guide With Python Examples

Precision-Recall Curves: A Complete Guide With Python Examples

What is a Precision-Recall curve, how does it differ from a ROC curve, and when...

By Sole Galli, on
Imbalanced Data in Machine Learning: Techniques and Best Practices

Imbalanced Data in Machine Learning: Techniques and Best Practices

Imbalanced data isn't the problem. How you handle it is. Learn how to work with...

By Sole Galli, on
SMOTE in Python and whether you should still use it in 2026

SMOTE in Python and whether you should still use it in 2026

Learn how to implement SMOTE in Python and whether you should still use it to...

By Sole Galli, on
Should You Use Imbalanced-Learn in 2025?

Should You Use Imbalanced-Learn in 2025?

I discuss the latest evidence on the use of undersampling and SMOTE for imbalanced data...

By Sole Galli, on
ADASYN: Adaptive Synthetic Sampling for Imbalanced Datasets

ADASYN: Adaptive Synthetic Sampling for Imbalanced Datasets

Find out why you should NOT use ADASYN to handle data imbalance, what the hype...

By Sole Galli, on
The Complete Guide to Platt Scaling

The Complete Guide to Platt Scaling

Learn about calibration in machine learning using Platt scaling. Find out how it works and...

By Sole Galli, on
ROC-AUC Analysis – A Deep Dive

ROC-AUC Analysis – A Deep Dive

Ultimate guide for mastering ROC-AUC analysis—learn to create, interpret, and apply it in Python with...

By Priyansh Soni, on
Probability Calibration in Machine Learning: Enhancing Model Usability

Probability Calibration in Machine Learning: Enhancing Model Usability

Learn probability calibration in machine learning: importance, methods, and best practices for more reliable probability...

By Cainã Max Couto da Silva, on
A Data Scientist’s Guide to Balanced Accuracy

A Data Scientist’s Guide to Balanced Accuracy

Discover the balanced accuracy's advantages over traditional accuracy and learn how to implement it in...

By Cainã Max Couto da Silva, on
The Role of Undersampling in Tackling Imbalanced Datasets in Machine Learning

The Role of Undersampling in Tackling Imbalanced Datasets in Machine Learning

Undersampling techniques for imbalanced datasets in Python.

By Sole Galli, on
Exploring Oversampling Techniques for Imbalanced Datasets

Exploring Oversampling Techniques for Imbalanced Datasets

Oversampling techniques for imbalanced datasets in Python.

By Sole Galli, on