Exercise 4 of the perceptron lesson flagged the trap: with 90% of ratings actions being "hold," a classifier that always predicts "hold" scores 90% accuracy while being completely useless. This note gives the vocabulary and tools to see past that trap — the confusion matrix, precision/recall, and the ROC curve — which is exactly how a credit-default classifier's threshold, not just its fitted parameters, becomes a business decision.
In this lesson
- Learning objectives
- The confusion matrix
- The metric vocabulary
- The threshold trade-off
- The ROC curve and AUC
- Worked example
Before you start
The full lesson, with worked examples and exercise solutions, is for members.
Read the full lessonNew to SelfMadeQuant.com? See membership options or browse the Financial Machine Learning syllabus.