Brief of the question: For a system with multiple parameters, inputs and outputs, what is the format of the argument values in the functions SimulatorForwardProblem () and SimulatorInferenceProblem ()?
More details of the question below:
I tried the code in the "examples" file and had a general idea of how to use the package. The "linearode" model is pretty straightforward, but I could not run the examples of "Tsurf_inv" and "ddm". I think the primary reason is I can't load the data. When I tried the SimulationBasedInference.jl, I used the "linearode" as a prototype. There are some errors when I tried the package to a simple lotka volterra model (with 1 parameters and two outputs).
- In the
SimulatorForwardProblem(odeprob, observable)
Can I give a function which solve the odeprob as an argument to the function?
If I have multiple outputs, how to use SimulatorObservable () function for the argument "observable"? Get the argument for each output individually or together in oneSimulatorObservable ()function? What format I should follow to set the arguement of all outputs?
-
In the function SimulatorInferenceProblem (forward_prob, ode_solver, model_prior, lik)
Similar questions of how to set "model_prior" and "lik" for multiple parameters and likelihood.
-
In my case, I did not get any error before I run "enis_sol = solve(inference_prob, EnIS(), ensemble_size=128, rng=rng);" and get error and stuck when I run the solve () function.
The error shows:

I think the error point out that I probably defined wrong argument types in functions for inference_prob. It is the main reason why I asked previous two questions.
It might be difficult to check more details behind the problem, so I attached the code if you would like to have a look.
https://github.com/Zhe-Jessica/LV_SBI/blob/main/LV_SBI.jl
I do understand you are probably busy and do not have time to check all the code. It would be very helpful if there are some other examples of the application of the SimulationBasedInference.jl package to the systems with multiple parameters and multiple outputs. I probably can have more ideas from this kind of examples.
Thank you very much for your time. Look forward to your response.
Brief of the question: For a system with multiple parameters, inputs and outputs, what is the format of the argument values in the functions
SimulatorForwardProblem ()andSimulatorInferenceProblem ()?More details of the question below:
I tried the code in the "examples" file and had a general idea of how to use the package. The "linearode" model is pretty straightforward, but I could not run the examples of "Tsurf_inv" and "ddm". I think the primary reason is I can't load the data. When I tried the
SimulationBasedInference.jl, I used the "linearode" as a prototype. There are some errors when I tried the package to a simple lotka volterra model (with 1 parameters and two outputs).SimulatorForwardProblem(odeprob, observable)Can I give a function which solve the odeprob as an argument to the function?
If I have multiple outputs, how to use
SimulatorObservable ()function for the argument "observable"? Get the argument for each output individually or together in oneSimulatorObservable ()function? What format I should follow to set the arguement of all outputs?In the function
SimulatorInferenceProblem (forward_prob, ode_solver, model_prior, lik)Similar questions of how to set "
model_prior" and "lik" for multiple parameters and likelihood.In my case, I did not get any error before I run "
enis_sol = solve(inference_prob, EnIS(), ensemble_size=128, rng=rng);" and get error and stuck when I run thesolve ()function.The error shows:
I think the error point out that I probably defined wrong argument types in functions for inference_prob. It is the main reason why I asked previous two questions.
It might be difficult to check more details behind the problem, so I attached the code if you would like to have a look.
https://github.com/Zhe-Jessica/LV_SBI/blob/main/LV_SBI.jl
I do understand you are probably busy and do not have time to check all the code. It would be very helpful if there are some other examples of the application of the SimulationBasedInference.jl package to the systems with multiple parameters and multiple outputs. I probably can have more ideas from this kind of examples.
Thank you very much for your time. Look forward to your response.