How can I analyze a confusion matrix?

前端 未结 3 542
北恋
北恋 2021-01-19 05:04

When I print out scikit-learn\'s confusion matrix, I receive a very huge matrix. I want to analyze what are the true positives, true negatives etc. How can I do so? This is

3条回答
  •  难免孤独
    2021-01-19 05:59

    Terms like true positive,false positive, etc. refer to binary classification. Whereas the dimensionality of your confusion matrix is greater then two. So you can talk only about the number of observations known to be in group i but predicted to be in group j (definition of confusion matrix).

提交回复
热议问题