Skip to content

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

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages