Tested tool guide
Tested browser tools
Checked August 16, 2026
What Confusion Matrix Analyzer does, with a checked example
Convert actual outcomes and model predictions into a confusion matrix, then inspect precision, recall, F1-score, and accuracy. When prediction scores are available, adjust the classification threshold to see how false positives and false negatives change and how those operating points form an ROC curve. The key trap is orientation: a matrix is easy to misread unless you confirm which class is positive and whether actual labels occupy rows or columns.
Worked example
A concrete input and expected output from the current implementation.
Input
True positives: 8
False positives: 2
False negatives: 2
True negatives: 8
->
Expected output
Confusion matrix, with actual rows and predicted columns: [[8, 2], [2, 8]]. Precision: 0.80. Recall: 0.80. F1-score: 0.80. Accuracy: 0.80.
Precision and recall are both 8 / 10. Sixteen of the 20 predictions are correct, so accuracy is 16 / 20, and equal precision and recall produce an F1-score of 0.80.