-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build loss function for ensemble of ODE's, but with different sampling times for each simulation in the ensemble #218
Comments
Since you can't provide separate What issue were you facing with the separate solves and summing approach? |
Currently, I do something like this:
however, for a starter I get a Also, the results of the optimisations are really pad (while optimising on only a single experiment work). Might just be a natural thing, but ass a step in figuring out why I figured I probably should avoid adding as much custom code as possible and just use the standard SciML tools, where possible. |
You haven't created an |
|
Thanks, I'll try this an it hopefully should work :) |
I have a system (modelled as an ODE), for which I have measurements using different initial conditions. I want to find its parameters. I have looked at this example: https://docs.sciml.ai/DiffEqParamEstim/stable/tutorials/ensemble/ and it is pretty much just what I want to do. However, there's one problem:
The various experiments are not sampled at the same timepoints. How do I tune this? In the example, in:
we build the loss function, but also set the options for the ODE solver (
saveat=data_times
). Here, I would needsaveat=data_times
to have different values for each run of the ensemble. Is there a good way to do this?(I have tried setting up my own, which just builds several non-ensemble loss problems, and then sum them all up. However, AD does not work on this, and it generally does not seem to work well)
The text was updated successfully, but these errors were encountered: