In this hands-on assignment, we'll apply linear regression with gradient descent to predict the progression of diabetes in patients. The tutorial will guide you through the process of implementing linear regression with gradient descent in Python, from the ground up.
We'll first load the dataset, and train a linear regression model using scikit-learn, a Python machine learning library. We will use the results from scikit-learn as a test for whether or not our implementation is correct. Then, we'll implement linear regression using gradient descent ourselves. Let's get started!
Work on this project directly in-browser via Google Colaboratory. The link above is a starter template that you can save to your own Google Drive and work on. Google Colab is a free tool that lets you run small Machine Learning projects through your web browser. You should read this 1 min tutorial if you're unfamiliar with Google Colaboratory.