Sweep ridge over [0.01, 1, 100, 1000] with 5-fold R² and return the four scores…

Machine Learning · from Ridge and lasso

RidgeLassoElasticNetalphaRidgeCVL1 vs L2

Putting the kettle on…

Starting up…

Exercise 2

Sweep ridge over [0.01, 1, 100, 1000] with 5-fold R² and return the four scores, rounded to 4 places. Notice how flat the first three are.

your answer
stuck? the lesson behind it
Ridge and lasso
Put a price on coefficients — one shrinks them, one deletes them