docs
docs copied to clipboard
UndefVarError: bijector not defined
Tutorial are key for users to learn. The Variational Inference notebook has the following error for a long time.
_, sym2range = Variational.bijector(m; sym_to_ranges = Val(true)); #ERROR: UndefVarError: bijector not defined
Also, the following line needs to exclude ".value": density!(collect(skipmissing(samples_nuts[:s].value)), label = "s (NUTS)", color = :green, linewidth = 2)
Regards,
In case someone else is struggling and found this. It should be
using Turing: Bijectors
_, sym2range = Bijectors.bijector(model, Val(true))
Was fixed at some point, it seems.