Home > Net >  Does Fit.Line use least squares
Does Fit.Line use least squares

Time:02-10

The method Fit.Line - what algorithm does it use to determine the parameters? Hopefully least squares.

CodePudding user response:

Check the documentation. https://numerics.mathdotnet.com/api/MathNet.Numerics/Fit.htm#Line

"Least-Squares fitting the points (x,y) to a line y : x -> a b*x, returning its best fitting parameters as [a, b] array, where a is the intercept and b the slope."

  •  Tags:  
  • Related