Skip to content

djpine/linfit

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published