Ravindra BagaleCourses & study guides English Track your progress

38. Machine Learning मध्ये Overfitting आणि Underfitting

Data Science

38.4 छोटी Depth Demo

का गरजेचे आहे. छोटी side-by-side demo vocabulary पक्की करते.

हे काय आहे. Noisy numeric toy वर LinearRegression (सामान्यतः smoother) vs खूप खोल tree तुलना करा — train vs test error style विचार. Classification metrics इथे गतीसाठी accuracy ठेवा.

कसे करायचे.

छोटा प्रयोग

  1. थोड्या noise सह छोटी labelled table तयार करा.
  2. खोल tree आणि shallow tree fit करा.
  3. दोन्हीसाठी train/test accuracy नोंदवा.
  4. तुमच्या run वर कोणती setting overfit करते ते लिहा.
# Reuse the deep vs shallow printout from 38.2
# Add one business sentence after you run it:
# "I will not ship a model that only memorises last month's Mauli Dairy rows."
print("Run 38.2 cells, then write your one-line decision.")

काल्पनिक data

Toy x1/x2 tables शिकवण्यासाठी gaps दाखवण्यासाठी आहेत; production sensors नाहीत.