djpine / linfit

Least squares linear fit for numpy library of Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Least squares fit to straight line

Fit a straight line

f(x) = a + bx 

to (x, y) data points. Returns coefficients a and b that minimize the squared error.

Click here for linfit docstring

About

Least squares linear fit for numpy library of Python

License:GNU Lesser General Public License v2.1


Languages

Language:Jupyter Notebook 45.9%Language:JavaScript 18.6%Language:HTML 16.7%Language:Python 11.5%Language:CSS 7.3%