ML Toolbox 3-Linear Regression using Scikit-Learn

Goal

  • Ordinary Least Squares (OLS) Polynomial Regression Model
  • Investigate bias-variance tradeoff (overfitting-underfitting) using the RMSE vs. degree curve 
  • Stochastic Gradient Descent (SGD) Linear Regression Model

 

Reading Task:

Practice Task:

Implement the marked sections in the “ML-Toolbox-3-Linear-Regression Links to an external site.” Jupyter notebook.

The dataset is given in the file “winequality-red.csv Links to an external site.”.