Top "Curve-fitting" questions

Fitting 1-D curve to data points, minimizing pre-defined error/loss function.

How to use least squares method in Matlab?

I have 37 linear equations and 36 variables in the form of a matrix equation; A*X=B . The equations don't have …

matlab math curve-fitting least-squares best-fit-curve
How can I get a cubic bezier curve closest to given points?

Given n points: p0, p1, p2, ..., pn; How can I get the point c1, c2 so that the cubic bezier …

c# algorithm math bezier curve-fitting
Fitting piecewise function in Python

I'm trying to fit a piecewise defined function to a data set in Python. I've searched for quite a while …

python numpy scipy curve-fitting piecewise
How can I perform a least-squares fitting over multiple data sets fast?

I am trying to make a gaussian fit over many data points. E.g. I have a 256 x 262144 array of …

python scipy curve-fitting gaussian least-squares
Fit sigmoid function ("S" shape curve) to data using Python

I'm trying to fit a sigmoid function to some data I have but I keep getting:ValueError: Unable to determine …

python-3.x scipy curve-fitting sigmoid
6th degree curve fitting with numpy/scipy

I have a very specific requirement for interpolating nonlinear data using a 6th degree polynomial. I've seen numpy/scipy routines (…

python numpy scipy curve-fitting linear-regression
trying to get reasonable values from scipy powerlaw fit

I'm trying to fit some data from a simulation code I've been running in order to figure out a power …

python numpy scipy curve-fitting least-squares
How to obtain the chi squared value as an output of scipy.optimize.curve_fit?

Is it possible to obtain the value of the chi squared as a direct output of scipy.optimize.curve_fit()? …

python scipy curve-fitting chi-squared
How to get confidence intervals from curve_fit

My question involves statistics and python and I am a beginner in both. I am running a simulation, and for …

python python-3.x scipy statistics curve-fitting
Loess Fit and Resulting Equation

I'm a developer up in Portland, OR. I'm wondering if anyone can assist: I'm working on Loess fit models using …

r curve-fitting loess