Which method is used to prevent overfitting in machine learning models?

Which method is used to prevent overfitting in machine learning models?

مشین لرننگ ماڈلز میں اوور فٹنگ کو روکنے کے لیے کون سا طریقہ استعمال کیا جاتا ہے؟
Explanation
  • Regularization adds a penalty to the model's complexity to prevent overfitting by discouraging excessively large coefficients.
  • It helps improve the model's generalization ability on unseen data.