اوور فٹنگ (ماڈل ٹریننگ ڈیٹا کو یاد کر لیتا ہے اور نئے ڈیٹا پر ناکام ہو جاتا ہے) اور انڈر فٹنگ (ماڈل بہت سادہ ہے اور الگوں کو پکڑ نہیں سکتا) مشین لرننگ میں دو بنیادی مسائل ہیں۔ ان میں توازن برقرار رکھنا — اچھی تعمیم حاصل کرنا — مؤثر ماڈل بنانے میں مرکزی ہے۔
اوور فٹنگ بمقابلہ انڈر فٹنگ
OVERFITTING → the model learns the training data TOO well (including noise) →
→ performs great on training data but POORLY on new/unseen data (doesn't generalize)
→ too complex; memorizes rather than learns general patterns
→ like memorizing answers vs understanding the concept
UNDERFITTING → the model is TOO SIMPLE to capture the underlying patterns →
→ performs poorly on BOTH training and new data
→ not enough complexity/capacity to learn the patterns
→ the goal is GENERALIZATION: learn real patterns → perform well on NEW data
