Gradient Descent
Gradient Descent is a way to improve an algorithm. In math, this is called optimization. A goal with Neural Networks, and machine learning models in general, is to optimize them to improve their performance.
When a neural network makes a prediction, a loss is calculated. This is a score that tells the network how well it is performing. The goal is to minimize this loss value and make it as small as possible. This is done in small steps many times. Visually, this looks like finding the lowest point on a graph:
This is like standing in a hilly area, and you are placed at a random spot. For every step you take, you take the steepest step you can downhill. You are done when you reach the lowest point and you can't go any lower!
This value is then used to update the weights in the network, so that the inputs can be tuned to the right outputs. This is through a process called Backpropagation, which is the topic of the next chapter.