optimize.curve_fit uses different nomenclature from optimize.leastsq #3172
Labels
Documentation
Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
good first issue
Good topic for first contributor pull requests, with a relatively straightforward solution
scipy.optimize
Milestone
The curve_fit help uses N for the number of data points and M for the number of parameters, but then calls leastsq which has these reversed. This makes some of the error messages harder to understand.
I suggest simply swapping N and M in the curve_fit help.
The text was updated successfully, but these errors were encountered: