[Problem 3] Consider the lasso regression model in the previ…

Questions

[Prоblem 3] Cоnsider the lаssо regression model in the previous question. Now use cv.glmnet with nfolds = 3 to perform cross-vаlidаtion. To fix the randomness, run the command set.seed(1) before performing the cross-validation. Report the optimal value of lambda (keep 3 decimal places).