You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parameter Value Standard Deviation
c_N 3.000000e+00 2.529358e+01
c_bN 6.000000e-01 2.277745e+01
d_N 7.000000e-01 9.629840e+00
f_P 1.000000e+01 6.950825e+01
Status message ABNORMAL_TERMINATION_IN_LNSRCH
Number of iterations 0
Objective <symfit.core.objectives.LeastSquares object at 0x0000024443010FA0>
Minimizer <symfit.core.minimizers.LBFGSB object at 0x0000024443010EB0>
Goodness of fit qualifiers:
chi_squared 0.050448920293983936
objective_value 0.025224460146991968
r_squared 0.9171998963521952
My code is as follows. What does "ABNORMAL_TERMINATION_IN_LNSRCH" mean and what could be causing it? Thank you
I don't know exactly what's causing it, since that get really deep into how the BFGS minimizer works. I do know that fitting ODEs can be very difficult, since they tend to be annoyingly sensitive to parameters. You can usually help things along by picking better initial guesses.
I should add to this that symfit is a wrapper around scipy's LBFGSB, which has documentation here. So you might find something over there, or by googling for this error in combination with scipy.
Just glossing at your code, I agree with @pckroon that this is probably a difficult ODE to solve, especially given that the amount of datapoints only marginally outweighs the amount of parameters in the problem. Is this your real data, or just an example? More data would probably improve the reliability of the fit.
I get the following output:
My code is as follows. What does "ABNORMAL_TERMINATION_IN_LNSRCH" mean and what could be causing it? Thank you
The text was updated successfully, but these errors were encountered: