Which method is used to prevent overfitting in machine learning models?
Show answer
Correct answer A
Regularization adds a penalty to large model weights to prevent overfitting. It helps the model g eneralize better on unseen data. Common techniques include L1 (Lasso) and L2 (Ridge) regularization.