- 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 ROC Curve & AUC Quiz
This hard quiz goes beyond "higher AUC is better". You will compute TPR, FPR and AUC by hand, read what AUC means as a ranking probability, and see why it ignores calibration and can flatter models on heavily imbalanced data.
Sample question
Question 1 of 10What does a ROC curve plot?
Show the answer
B. True positive rate against false positive rate as the threshold changes Each threshold gives one (FPR, TPR) point, with FPR on the x-axis and TPR (recall) on the y-axis; sweeping the threshold traces the curve. Precision against recall is the PR curve.
What this quiz covers
- TPR vs FPR across all thresholds
- AUC as the chance a random positive outranks a random negative
- Computing AUC from a few scores
- Monotonic transforms, calibration and AUC below 0.5
- When a precision-recall curve is the better choice
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.