Rescue degree 2 with ridge

Machine Learning · from Polynomials and the bias-variance trade-off

PolynomialFeaturesinteractionsbiasvariancenegative R²degree

Putting the kettle on…

Starting up…

Exercise 3

Rescue degree 2 with ridge. Return its 5-fold R² at alpha=100, rounded to 4 places — then compare it in your head with degree 1's 0.5785.

your answer
stuck? the lesson behind it
Polynomials and the bias-variance trade-off
1,329 features, a training R² of 0.89, and a test R² of −1.02