Ravindra BagaleCourses & study guides English Track your progress

31. Machine Learning मध्ये Train Test Split

Data Science

31.4 Split नसेल तर काय चुकते

का. Split सोडले की खोट्या विजयाचा उत्सव होतो.

काय चुकते

  • Training accuracy “परफेक्ट” दाखवून ship करता.
  • नव्या Diwali आठवड्याचे orders वेगळे दिसतात; model अपयशी ठरतो.
  • Manager ला data कामावर विश्वास उरत नाही.

कसे ओळखायचे

  1. कोणी test set न सांगता एकच accuracy number सांगितले तर विचारा — “कोणत्या rows वर?”
  2. Train score ≫ test score असेल तर overfitting (Chapter 38) किंवा leakage असू शकते.
  3. नेहमी log करा: n_train, n_test, random_state, stratify yes/no.

Ravindra Bagale's Tip

In your notebook, keep a separate section with a clear heading called “TEST SCORE”. Do not highlight the training score as your main result. The test score is the number that really matters.