linear regression

abalone dataset · predicting ring count from physical measurements

loading...

train — gradient descent with the λ from the slider. search & train — finds the best λ automatically via 5-fold cross-validation, then retrains with it. this is the correct workflow.

R² evolution

train vs validation R² across epochs — gap reveals overfitting

RMSE evolution

train vs validation RMSE in rings — error in original units

predicted vs actual

each dot is one abalone — perfect model sits on the diagonal

feature weights

weight magnitude after training — positive = more rings

weight stability across folds

distribution of each feature's weight across 5 CV folds — wide spread reveals instability

grid search — λ vs validation rmse

5-fold cross-validation across λ values · best λ used to retrain