Display Columns and Labels for Confusion Matrix-

2019-03-07 01:16发布

While printing the confusion matrix, I get the columns and labels in number format- enter image description here But, when i try to make it a DataFrame and get the column names by this suggestion, I get this below error -

ValueError: Shape of passed values is (32, 32), indices imply (35, 35)

Just for your information, I would like to inform that my actual dataset has 35 unique target categories but not all are being seen in the below. Why?

enter image description here

0条回答
登录 后发表回答