ML Monitoring - Class Imbalance
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 shear 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 the following link to get started using Google Colab:
![](https://docs.fiddler.ai/~gitbook/image?url=https%3A%2F%2Fcolab.research.google.com%2Fimg%2Fcolab_favicon_256px.png&width=768&dpr=4&quality=100&sign=5df65958&sv=1)
Last updated