- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
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.
Sample question
Question 1 of 10In 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.