-
Notifications
You must be signed in to change notification settings - Fork 223
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
Approximate Bayesian computation? #347
Comments
At the moment, ABC is not directly supported yet. However, it should be easy to add ABC give that we have other simulation-based inference algorithms including IS, SMC etc. Please have a look at the importance sampling code below and see whether it can help you. https://github.com/yebai/Turing.jl/blob/master/src/samplers/is.jl |
Yeah, this would be nice to have. Does it require anything different about the likelihood? I am quite unfamiliar with it but hear it's good for the parameter estimation stuff we've been doing with DiffEqBayes.jl. |
As a follow up, a package came out with ABC: https://github.com/marcjwilliams1/ApproxBayes.jl It would be nice to have it in Turing.jl, which is more general than just ABC. |
@juliohm Thanks for the pointer. It looks interesting. Would be good if someone could give it a try to use PS. The coroutine-based SMC implementation in Turing is the fastest SMC at the moment. I think coroutines (copying) from Turing might help ABC as well if the simulator involves complex stochastic control flows. |
ABC should be implemented as a standalone package supporting the AbstractMCMC interface. |
@juliohm @yebai I am actually working on that and I hope to publish a short proof of concept soon (relevant discussion). Long story short, I am defining a faux distribution to handle summary statistics rather than the usual log-likelihood. It seems to be working fine with simple problems and ABC algorithms. However, I am still trying to figure out how to implement more advanced ABC algorithms on the basis of SMC (relevant issue). Any help on the latter would be very appreciated! |
Is it possible to perform ABC with Turing.jl?
The text was updated successfully, but these errors were encountered: