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

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

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

llsq, a Python code which solves the simple linear least squares (LLS) problem of finding the formula of a straight line y=a*x+b which minimizes the root mean square error to a set of N data points.

- gradient_descent.py, the source code.
- gradient_descent.sh, runs all the tests.
- gradient_descent.txt, the output file.