SciPy - Curve Fitting and Regression
You want to fit a nonlinear model
y = a * exp(b * x) to data points using least_squares. Which residual function is correct?