stat_scores vs confusion_matrix, what's the differences?
#3063
Answered
by
Borda
ZhiyuanChen
asked this question in
Classification
-
|
The returns of What's the differences between them? Why do we need two functions for the same functionality? |
Beta Was this translation helpful? Give feedback.
Answered by
Borda
Aug 11, 2025
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Borda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
stat_scoresgives you TP, FP, TN, FN (and support) counts directly, which is handy for calculating metrics fast.confusion_matrixgives the full grid of predictions vs. labels, which is better for spotting where your model makes mistakes.They overlap, but
stat_scoresis a quick metric helper, whileconfusion_matrixis a full diagnostic view.