Fork me on GitHub

Linear Regression, overfitting, and regularization

Providing controls to generate a sample data set with a polynomial, and then fit a polynomial to the data set using (non-regularized) least squares, ridge regression, or Lasso regression.

Parameters

Normalize features

Generating Polynomial Coefficients

  • Actual :
  • Computed :

Training Data

(Error = {{ errors.training }})

Testing Data

(Error = {{ errors.testing }})