TuringLang / docs

Documentation and tutorials for the Turing language
https://turinglang.org/docs/
MIT License
229 stars 99 forks source link

Plot for samples not working in SDE example #420

Closed bonStats closed 4 months ago

bonStats commented 1 year ago

See code below located: https://turinglang.org/v0.28/tutorials/10-bayesian-differential-equations/#inference-of-a-stochastic-differential-equation and resulting output

model_sde = fitlv_sde(odedata, prob_sde)

setadbackend(:forwarddiff)
chain_sde = sample(
    model_sde,
    NUTS(0.25),
    5000;
    init_params=[1.5, 1.3, 1.2, 2.7, 1.2, 0.12, 0.12],
    progress=false,
)
plot(chain_sde)
yebai commented 4 months ago

This is likely due to incorrect inference results observed in https://github.com/TuringLang/Turing.jl/issues/2216 instead of a plotting issue.