Turing.jl icon indicating copy to clipboard operation
Turing.jl copied to clipboard

Question: Which package is the MCMCserial() part of? been working through the notebook and have had problems with it not being defined hence that part of the notebook does not run

Open daany2 opened this issue 3 years ago • 7 comments

Question on: https://github.com/TuringLang/Turing.jl/edit/master/docs/_tutorials/10_bayesian-differential-equations.md

daany2 avatar Jun 20 '22 14:06 daany2

UndefVarError: MCMCserial not defined

top-level scope@Local: 25

daany2 avatar Jun 20 '22 15:06 daany2

MCMCSerial (with capital S) is defined in AbstractMCMC. But users don't have to know this since it is re-exported by Turing. That is, if you run using Turing it will be available and you can just use MCMCSerial().

Maybe you use an old version of Turing (and/or AbstractMCMC) that did not define it? Can you make sure you use at least the versions that the tutorial was run with (https://turing.ml/dev/tutorials/10-bayesian-differential-equations/#appendix)?

devmotion avatar Jun 20 '22 15:06 devmotion

Thank you

daany2 avatar Jun 20 '22 15:06 daany2

Did you manage to fix the problem?

devmotion avatar Jun 21 '22 11:06 devmotion

Not yet, still having the problem. Updated to the newest Turing Version 0.21.1 but when I run the code it gives the same error. I installed AbstractMCMC too

daany2 avatar Jun 21 '22 15:06 daany2

Can you post the output of ] st --manifest?

devmotion avatar Jun 23 '22 09:06 devmotion

manifest.pdf

daany2 avatar Jun 23 '22 16:06 daany2

Likely an issue of using out-of-date Turing releases. Please reopen if you still have questions.

yebai avatar Nov 12 '22 20:11 yebai