Category "least-squares"

Error to allocate result variables from opt.leastsq

I'm setting up an interior positioning system, and when I request the opt.leastsq function, I have the expected result in the string, but it gives me an output

least square regression model

What is behind Approx and approxfun? I know that these two functions perform a linear interpolation, however I didn't find any reference on how they do that. I

Orthogonal regression fitting in scipy least squares method

The leastsq method in scipy lib fits a curve to some data. And this method implies that in this data Y values depends on some X argument. And calculates the min