What is Confusion matrix?
A table that counts the data for each combination of a classification model's prediction and the actual correct answer. For two-class classification it has four cells: true positives (TP), positives correctly predicted as positive; false positives (FP), negatives wrongly predicted as positive; false negatives (FN), positives wrongly predicted as negative; and true negatives (TN), negatives correctly predicted as negative. Accuracy, precision, recall, the F1 score and other metrics can be calculated from it, and it also shows which classes are easily mistaken for which.
Japanese name: 混同行列
Confusion matrix appears in 1 practice question across 1 topic, including Machine Learning Basics.
Field: Machine Learning Basics