AI & Machine Learning Confusion Matrix Quiz

This quiz is about the confusion matrix, the table behind accuracy, precision and recall. You will read scikit-learn's layout, compute metrics from the cells and spot what a suspicious matrix says about a classifier.

Medium 10 questions ~6 minutes Pass at 80%

Choose a mode

Playing as a guest: sign in to keep your XP and streak.

Sample question

Question 1 of 10

In a binary confusion matrix, what is a false negative?

Show the answer

C. Predicted negative, actually positive The second word is the prediction (negative) and "false" means it was wrong, so the sample is actually positive. Predicted positive but actually negative is a false positive.

What this quiz covers

  • TP, FP, FN and TN, and which is a Type I or Type II error
  • scikit-learn's layout: rows are actual, columns are predicted
  • Precision, recall and specificity from the cells
  • Per-class metrics in a multi-class matrix
  • Spotting a model that always predicts one class

Questions people ask

Do I need an account?

No. Anyone can play. Sign in to keep your XP, streak, badges and history.

Can I retake it?

Yes. Your best score is kept, and the questions and answers are shuffled each time.