ML Monitoring - Class Imbalance
Last updated
Last updated
© 2024 Fiddler Labs, Inc.
Many ML use cases, like fraud detection and facial recognition, suffer from what is known as the class imbalance problem. This problem exists where a vast majority of the inferences seen by the model belong to only one class, known as the majority class. This makes detecting drift in the minority class very difficult as the "signal" is completely outweighed by the sheer number of inferences seen in the majority class.
This guide showcases how Fiddler uses a class weighting parameter to deal with this problem. This notebook will onboard two identical models -- one without class imbalance weighting and one with class imbalance weighting -- to illustrate how drift signals in the minority class are easier to detect once properly amplified by Fiddler's unique class weighting approach..
Click this link to get started using Google Colab →
Or download the notebook directly from GitHub.