V6.0.0 is a (mildly) breaking release primarily because StanSample now by default returns an array. If e.g. an MCMCChains.Chains object is needed MCMCChains.jl must have been loaded and use:
chns = read_samples(sm; output_format=:mcmcchains)
?read_samples for other optional arguments.
Further work will happen on this package over the next few months, i.e. until at least April 2020 as the underlying StanJulia packages are being fine-tuned. Documentation - to be part of Stan.jl v6 - is also far from done. WORK IN PROGRESS!!!!
Stan.jl v4.x and earlier versions were the first generation of Julia tools to use Stan's cmdstan executable. CmdStan.jl v5.x and v6.x updated these for Julia v1.x and added features based on user feedback. Most of cmdstan's features are covered (but not all).
Stan.jl v6.x constitutes the third generation and extends Tamas Papp's approach taken in StanRun, StanDump and StanSamples. It covers all of cmdstan's features in separate modules. i.e. StanVariational, StanSample, etc., including an option to run
Stan.jl v6.x will contain examples using the features available in StanJulia.
My intention is to continue maintenance of CmdStan.jl for at least another two years.
A collection of documented examples to use Stan (as an external program) from Julia.
Stan's cmdstan executable needs to be installed separatedly. Please see cmdstan installation.
For more info on Stan, please go to http://mc-stan.org.
5 days ago