-
Notifications
You must be signed in to change notification settings - Fork 6
add amorized inference example #117
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
Conversation
This is the first of two examples I want to include for using simulation-based inference with models in SSM.jl. Here, I am using the package NeuralEstimators.jl. Feedback is welcome at this point. https://github.com/msainsburydale/NeuralEstimators Next, I am working on building likelihood approximation networks in Flux based on methods from Fengler, and I will have it up and running to sample with Turing. That will be the next example. For now, I tried to use the LCA, as similar examples have shown online (see https://bayesflow.org/stable-legacy/_examples/LCA_Model_Posterior_Estimation.html). I was able to get this running local but I think we have to env coflict we have to resolve to get NeuralEstimators working on the docs
Benchmark Results
Benchmark PlotsA plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. |
|
Thanks! I only gave it a cursory look, but this is nice from what I can tell.
I think that is OK. I no longer auto-generate computationally intensive docs with the By the way, I have been corresponding with the developer of NeuralEstimators.jl to get help with a few technical details. One thing I have planned is to add an example of Bayesian parameter estimation of the LNR using NormalisingFlow and comparing it to Turing (for validation). I want to let you know so we do not duplicate any work. Thanks again! |
Okay, I will add I want to follow up with the team, as I think some additional text on considering simulation-based calibration could be instructive. Do you know if they are working on that? I was considering opening an issue. |
Just to clarify, please to not use #```@raw html
#<details>
#<summary><b>Show Details </b></summary>
#```
#```julia
## your code here
#```
#```@raw html
#</details>
#```Sorry for the
Not that I know of. It might be worth looking into. |
… documentation for clarity and additional references
I see understood! I will modify. |
itsdfish
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kiante, there a few minor revisions requested below. Once we sort those out, I will merge.
|
@kiante-fernandez, thank you for the revisions. This looks nice. I will go ahead and merge. The unit tests for Turing is not passing with 0.37, even though it passed before. I'm looking into a solution. |
This is the first of two examples I want to include for using simulation-based inference with models in SSM.jl.
Here, I am using the package NeuralEstimators.jl. Feedback is welcome at this point.
https://github.com/msainsburydale/NeuralEstimators
Next, I am working on building likelihood approximation networks in Flux based on methods from Fengler, and I will have it up and running to sample with Turing. That will be the next example.
For now, I tried to use the LCA, as similar examples have shown online (see https://bayesflow.org/stable-legacy/_examples/LCA_Model_Posterior_Estimation.html).
I was able to get this running local but I think we have to env coflict we have to resolve to get NeuralEstimators working on the docs