gradient function

noun
UK /ˈɡreɪdiənt ˈfʌŋkʃən/
US /ˈɡreɪdiənt ˈfʌŋkʃən/

A gradient function is a math rule that tells you which way a hill goes up the most.

The gradient function showed the hikers the steepest way up the mountain.


OTHER MEANINGS

2. In vector calculus, a function that assigns a vector pointing in the direction of greatest increase of a scalar field.

The gradient function of the temperature field points toward the hottest spot.

3. In machine learning, a function that computes the gradients of a model's parameters for optimization.

The training loop calls the gradient function before updating the weights.

4. In computer graphics, a function that maps positions to colors along a smooth color transition.

The gradient function blended blue into orange across the sky.