curve_fit
Fit a mathematical model to data using scipy.optimize.curve_fit with a sympy-parsed expression. Use for regression and parameter estimation.
Instructions
Fit y = model(x) to data with scipy.optimize.curve_fit using a sympy-parsed expression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p0 | No | ||
| model | Yes | ||
| xdata | Yes | ||
| ydata | Yes | ||
| param_names | No |