gradient_descent


gradient_descent, a MATLAB code which uses gradient descent to solve a linear least squares (LLS) problem.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

gradient_descent is available in a MATLAB version and a Python version.

Related Data and Programs:

gradient_descent_test

llsq, a MATLAB code which solves the linear least squares (LLS) problem. It finds the "best" straight line to match data points. More precisely, it finds the quantities "a" and "b" defining the straight line y=a*x+b, which minimizes the root-mean-square (RMS) error to the data.

Source Code:


Last revised on 29 July 2022.