37. How to Check If Your ML Model Is Good
Model fit jhala mhanje good nahi. Accuracy, precision, recall, confusion matrix — plain English. Chala numbers la meaning deu.
What you will learn in this chapter
- Accuracy in plain English (and when it lies)
- Precision vs recall
- Read a confusion matrix
- Run a small sklearn metrics demo
- Practice before over/underfitting
Fictional data
Blinkit / Amazon Now / Mauli Dairy figures in this chapter are fictional sample data for learning only. They do not show real company numbers. People names are for practice; e-mails use example.com.
Concepts in this chapter
- 37.1Accuracy in Plain English
- 37.2Precision and Recall
- 37.3Confusion Matrix
- 37.4Small sklearn Metrics Demo
- 37.5Practice, Tip and Close
The chapter recap is at the end of the last concept page.