This repository explains a way to handle unbalanced dataset in deep learning models. The approach helps to get some performacne gain that has been illustrated with MNIST digit classification dataset.
- Numpy
- Scikit-learn
- Keras with tensorflow backend
- Details on unbalanced dataset and class weight
- Calculation of class weights from MNIST datast
- Experiments and performance comparision with and without class weights
Please notify in the issue section if you find any issue in the experiment and also let me know if you can enhance the performance of any of your deep learning model using this approach.