-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
MCMC chains are inappropriately shown as tables #2472
Comments
where |
Context: In a now-deleted comment, I asked if the chains are Table.jl like objects. I understood a bit later that the chains are "overloaded" to include both the iteration data and the metadata about the run, and what you want to see is the metadata and that's why I removed my comment. The action here is to check whether we can make an HTML show method for these objects, and to make sure that Pluto will prefer these to the table viewer. I'll check the latter and suggest the former, probably with a PR, when I find some time (I do double duties as a dad lately so my contributions are a bit more limited 😮💨; but I'll get to it! friends say Turing is way to important not to pay appropriate attention!) |
Thanks - I can relate, if you look at my repos you see how much time I get to push forward the things I'd like to see in Julia, in large part due to my kids (not complaining!) And probably agreed that Turing is one of these showcase packages with a large enough userbase that you probably want to provide a smooth experience in Pluto for its users. |
I'm busy moving but I will respond soonish! We want to find a general solution to this (something like JuliaLang/julia#47270 or JuliaPluto/AbstractPlutoDingetjes.jl#10) but until then it might be easiest to add a special case for this package, just like Symbolics.jl: Pluto.jl/src/runner/PlutoRunner.jl Lines 1500 to 1505 in 994ba02
|
No video on this one, you just need one line of code (plus the relevant package):
The code is:
When running this in the REPL you get:
Which is the desired output as users are interested in the summary statistics by parameter, rather than the individual iterations of the MCMC chain.
The Pluto display used to be the same as in the REPL, so there must have been some recent change to how chains get displayed/when the table display kicks in.
The text was updated successfully, but these errors were encountered: