-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Differential Equations #1
Comments
You probably don't want to take on the dependency, so we are building integration with the different backends into DiffEqBayes.jl. If you have some starter code that would be great! |
I don't understand how Soss could work as a backend. Can you tell me more about what you have in mind? Soss can call any Julia code, so a model could have any DiffEq code as part of it. But I'm open to other ideas |
Yes, but that would require learning Soss or knowing Bayesian stats. The point of DiffEqBayes is to make the integration automatic, like with Stan: bayesian_result = stan_inference(prob1,t,data,priors) you give it an ODE, the time points with data, the data points, and a collection of priors, and it spits out chains. The problem is structured enough that it's clear exactly what the model should be (or parameters for things like likelihood distribution). There's a Stan and a Turing backend with the same interface. |
Oh, guess I need to look at how they do this. There must be a Stan model specified somewhere, is this just fixed? Does it make sense to have the same model every time? |
Yes.
It interpolates in the differential equation, time points, data, and priors. The rest is fixed. https://github.com/JuliaDiffEq/DiffEqBayes.jl/blob/master/src/stan_inference.jl#L51-L83 |
Oh interesting. Yeah that should be pretty easy I think. I was going to say you could write it just as easily by hand, but Soss will eventually make it easier to do things like Posterior predictive checks (described as part of #9). So... Translate the Stan model you gave, then do Stan-like inference and send you the resulting code? |
That would be great. |
Ok cool. Translating is easy. I broke the |
Implement SDE, etc using DifferentialEquations.jl and (most likely) Stan-like approach
The text was updated successfully, but these errors were encountered: