Ravindra BagaleCourses & study guides मराठी Track your progress

37. How to Check If Your ML Model Is Good

37.5 Practice, Tip and Close

Why. Close when you can explain accuracy vs precision vs recall and print a confusion matrix.

How.

Chapter practice

  1. Reuse your Chapter 34 late_delivery model.
  2. On the test set, print accuracy, precision, recall, confusion_matrix.
  3. Write which error is worse for the customer: false late alert or missed late delivery.
  4. State whether accuracy alone is enough for your table.

Thodkyaat sangaycha tar (quick recap)

  • Accuracy = overall correct share
  • Precision = alert quality; recall = catch rate
  • Confusion matrix shows all four error types
  • Always score on held-out test data

Samajla ka? Next: Chapter 38 — Overfitting and underfitting.