Nepedia
Back to Discover
Independent Reader
🔢

Gradient descent

math Maturity 11-13 Next article →

Imagine you are lost in the mountains.

Okanogan-Wenatchee National Forest, morning fog shrouds trees (37171636495)
Okanogan-Wenatchee National Forest, morning fog shrouds trees (37171636495)

A thick fog hides the path. You cannot see the bottom. You must feel the ground with your feet. You walk where the slope goes down. This is how a math tool called gradient descent works.

Gradient descent
Gradient descent

Gradient descent is a way to find the lowest point of a function. A function is like a mathematical shape. It can look like a bowl. The tool takes many small steps. Each step goes in the direction of the steepest descent. This means it moves where the ground drops fastest.

To work well, the tool needs a step size. This is also called a learning rate. If the steps are too small, it takes a long time. If the steps are too big, you might skip over the bottom.

Gradient Descent Example Nonlinear Equations
Gradient Descent Example Nonlinear Equations

This idea was first suggested by Augustin-Louis Cauchy in 1847. Today, it is very important for artificial intelligence. It helps smart machines learn by reducing errors. It can also find the highest point. This is called gradient ascent.

172 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (5)
Gradient Descent in 2D.webm
File:Gradient descent.svg
Gradient descent.svg
File:Okanogan-Wenatchee National Forest, morning fog shrouds trees (37171636495).jpg
Okanogan-Wenatchee National Forest,...
File:Steepest descent.png
Steepest descent.png
File:Gradient Descent Example Nonlinear Equations.gif
Gradient Descent Example Nonlinear Equations.gif
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.