capi_return is NULL result from model.simulate #341
Unanswered
itsjacobhere
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Since I don't know how the model was built, I can't reproduce the issue. Since the traceback goes back into our code, I think it may actually be our error. Try passing To predict on a subsample which is a different size in the time axis, just pass smaller arrays for |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After fitting a sindy model I'm trying to simulate the model forward on a set of initial conditions:
However I've been getting a
capi_return is NULL Call-back cb_f_in_lsoda__user__routines failed.
error, I'll paste the entire error below, it seems likely to be an issue with the scipysolv_ivp
integrator, though I also get an error usingodeint
and haven't been able to figure this out:I'm also wondering if anyone knows how to 'predict' on a subsample of a dataset which is a different size than the sample the model is fitted on? For example fitting on time series with size 1000, but scoring on a subsample or window of only 100 datapoints.
Beta Was this translation helpful? Give feedback.
All reactions