Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 386 Bytes

readme.md

File metadata and controls

9 lines (7 loc) · 386 Bytes

Regularized regression with R package: glmnet

Learning goals:

  • Difference between ridge regression and lasso regression;
  • How to choose the optimal lambda value based on cross-validated error;
  • How to get coefficient of the best model?
  • How to split your data into training and test datasets?
  • How to compare rige regression and lasso regression based on RSS.