ওভারফিটিং (মডেল প্রশিক্ষণ ডেটা মুখস্থ করে এবং নতুন ডেটায় ব্যর্থ হয়) এবং আন্ডারফিটিং (মডেল প্যাটার্ন ক্যাপচার করার জন্য খুব সহজ) হল ML-এ দুটি মৌলিক সমস্যা। তাদের ভারসাম্য রাখা — ভাল সাধারণীকরণ অর্জন করা — কার্যকর মডেল তৈরির কেন্দ্রবিন্দু।
ওভারফিটিং বনাম আন্ডারফিটিং
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
