I call the curve_fit function like this.
popt, pcov = curve_fit(asymmetricLogistic, xData, yDataFixed, predictions)
In the documentation it says that the number function calls is returned, but I can’t seem to get hold of it.
infodict dict (returned only if full_output is True)
a dictionary of optional outputs with the keys:
nfev
The number of function calls. Methods ‘trf’ and ‘dogbox’ do not count function calls for numerical Jacobian approximation, as opposed to ‘lm’ method.
How do I catch nfev from a curve_fit call?
Thanks