What is a common technique to prevent overfitting in linear regression models?

  • Increasing the model complexity
  • Reducing the number of features
  • Regularization
  • Using a smaller training dataset
Regularization is a common technique used to prevent overfitting in linear regression models. It adds a penalty term to the linear regression's cost function to discourage overly complex models. Regularization techniques include L1 (Lasso) and L2 (Ridge) regularization.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *