scipy 1.10.1 Pypi GitHub Homepage
Other Docs

NotesParametersRaisesReturnsBackRef
curve_fit(f, xdata, ydata, p0=None, sigma=None, absolute_sigma=False, check_finite=True, bounds=(-inf, inf), method=None, jac=None, *, full_output=False, **kwargs)

Notes

Parameters

f : callable
xdata : array_like
ydata : array_like
p0 : array_like, optional
sigma : None or M-length sequence or MxM array, optional
absolute_sigma : bool, optional
check_finite : bool, optional
bounds : 2-tuple of array_like or `Bounds`, optional
method : {'lm', 'trf', 'dogbox'}, optional
jac : callable, string or None, optional
full_output : boolean, optional
**kwargs :

Raises

ValueError
RuntimeError
OptimizeWarning

Returns

popt : array
pcov : 2-D array
infodict : dict (returned only if `full_output` is True)
mesg : str (returned only if `full_output` is True)
ier : int (returnned only if `full_output` is True)

See Also

least_squares

scipy.stats.linregress

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.stats._stats_mstats_common:linregress

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/optimize/_minpack_py.py#549
type: <class 'function'>
Commit: