ZhiningLiu1998 / imbalanced-ensemble

🛠️ Class-imbalanced Ensemble Learning Toolbox. | 类别不平衡/长尾机器学习库
https://imbalanced-ensemble.readthedocs.io
MIT License
326 stars 51 forks source link

How to normalize confusion matrix #28

Closed marcodelmoral closed 1 year ago

marcodelmoral commented 1 year ago

How can I normalize confusion matrix plot?

ZhiningLiu1998 commented 1 year ago

I'm not sure what you mean by normalizing the confusion matrix, do you mean to normalize all the terms into [0,1] and make them sum to one (i.e., showing the ratio instead of the number)?

BTW you may find this helpful: