Fit a straight line
f(x) = a + bx
to (x, y) data points. Returns coefficients a and b that minimize the squared error.
Least squares linear fit for numpy library of Python
Fit a straight line
f(x) = a + bx
to (x, y) data points. Returns coefficients a and b that minimize the squared error.
Least squares linear fit for numpy library of Python
GNU Lesser General Public License v2.1