1 / 9
INTRO

Walking Down a Mountain

Imagine the cost function as a mountain. A bad model sits near the peak, where the cost is high. A good model sits down in the valley, where the cost is low. Training a model means finding a path from the peak down to the valley.

That journey downhill has a name: gradient descent.