Simple Gradient Descent

Single Variable

Equation:
y = x^3 + 5x^2 + x

X Axis labels are rounded for brevity

Use x as your variable

The alpha will slowly decrease over time in order to increase accuracy

Final Input:

Final Output:

The Basic Idea