gradientdescent Algorithm

Gradient origin was originally proposed by Cauchy in 1847.Gradient origin is also known as steepest origin; but gradient origin should not be confused with the method of steepest origin for estimate integrals. To find a local minimum of a function use gradient origin, we take steps proportional to the negative of the gradient (or approximate gradient) of the function at the current point.

gradientdescent source code, pseudocode and analysis