-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
plot_dist_comparison for Turing models #4
Comments
Once you have an |
Thanks, that helped. One suggestion I have here (OK, maybe two) is to give a warning or something when a user wants to use |
Good suggestion! That should probably be handled by the underlying Python function. I'll open an issue there.
I don't know about this. The goal of the Quickstart is to show how to get outputs of Julia PPLs into the |
Thanks!
Sure, that's an even better idea. |
Actually, the prior doesn't seem to be required to use julia> using ArviZ
julia> idata = load_arviz_data("centered_eight")
InferenceData with groups:
> posterior
> posterior_predictive
> sample_stats
> prior
> observed_data
julia> idata2 = InferenceData(posterior=idata.posterior)
InferenceData with groups:
> posterior
julia> plot_dist_comparison(idata2; var_names=["mu"]) It's not a very useful plot, but no errors. julia> ArviZ.arviz_version()
v"0.11.2"
julia> using Pkg; Pkg.status()
Project ArviZ v0.5.0
Status `~/projects/ArviZ.jl/Project.toml`
[8f4d0f93] Conda v1.5.1
[a93c6f00] DataFrames v0.22.6
[d9ec5142] NamedTupleTools v0.13.7
[438e738f] PyCall v1.92.2
[d330b81b] PyPlot v2.9.0
[ae029012] Requires v1.1.3
[2913bbd2] StatsBase v0.33.4
[d6f4376e] Markdown
[3fa0cd96] REPL Can you provide a failing example? |
There was no actual error and I've got a very similar plot but at the first glance it wasn't obvious to me that the lack of samples from prior in |
Hi!
Could you add an example of usage of
plot_dist_comparison
with Turing models? It appears that I need to pass sampled priors in inference data but it's not clear how to do that.The text was updated successfully, but these errors were encountered: