Exercise - Implementing Gradient Descent

In this notebook you will implement the Gradient Descent Algorithm and optimize a linear function so that it fits a set of data points.

In this notebook you will optimize a linear function of the form $a*x$ that has only one parameter. The goal is that your model learns based on data which value the parameter should have to match the true function.

The green function is the true function, the orange one is the model. Your task will be to optimize the model with the gradient descent algorithm so that it comes closer to the true function.