
Gradient Descent is a mathematical optimization technique. Say we have a function:
that defines a line, which we want to estimate. The error between our guess and this line is
This is our cost function, our aim is to minimize it. If we plot this we get a parabola with a single point minimum that would be our solution.
We first take a random point Next we construct from it with the following equation
Now we construct in the same way. Eta is our learning rate. We can experiment with by increasing and decreasing this constant. In general we have this equation:
Which we continue until we reach the optimal value of or the error is small enough for our needs.

