Changes from before stay the same. For clarity, these include the following major changes:
[x] Covers the use of ordered() from Bijectors.jl in making the model identifiable (currently it is multimodal, and the seed is just lucky.)
[x] Introduces a marginalized version of the model that is much faster.
[x] Includes a section on recovering parameters from marginalized models
The following minor changes:
[x] Changed chain plots from grouping chains together to grouping parameters together. I think this makes the multimodality discussion much clearer.
[x] Added a tiny amount of burn-in to the MCMC sampler defaults, as really far-out initialization was making the plots hard to read.
[x] Added one more chain to n-chains to make multimodality more likely
[x] Added and reworked tests for the models (now tests rhat to make sure the bijector discussions are all correct)
There were a few unresolved problems with the last PR (brought up by @devmotion). This PR now deals with those as well:
[x] The multithreaded calls have the same warning as every other occurrence in the tutorials, so it shouldn't be too confusing now
[x] The Turing.@AddLogProb! model has a warning under it, telling people to stay away from manually incrementing log probabilities, and pointing to the simplified model underneath so they don't miss it.
[x] Used LogExpFunctions instead of StatsFuns, moved the assignment-recoverer function out of the model, and just generally changed all the small things pointed out under the last PR.
Ok, this a (fixed) version of https://github.com/TuringLang/TuringTutorials/pull/439, ported to Quarto.
Changes from before stay the same. For clarity, these include the following major changes:
The following minor changes:
There were a few unresolved problems with the last PR (brought up by @devmotion). This PR now deals with those as well:
Turing.@AddLogProb!
model has a warning under it, telling people to stay away from manually incrementing log probabilities, and pointing to the simplified model underneath so they don't miss it.