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."
