Fitting and overfitting
Change parameters and inspect the actual computation behind fitting and overfitting.
0.017Training MSE
0.025Noise-free test MSE
The same samples fit different polynomial degrees. Test targets use the known sin(3x) function; a tiny ridge term stabilizes the solve.
Predict the effect of changing a parameter before inspecting the output. Identify the responsible term in the formula and explain how the teaching model differs from a real application.