Use at your own risk, currently everything is very brittle and will probably be changed in the near future.
Everything including modified submodules can be checked out via
git clone --recurse-submodules -j8 https://github.com/nsiccha/xstanpy
This should so far include
- the python code in
xstanpy
, - a modified CmdStan version in
cmdstan
- a modified stan version in
cmdstan/stan
and - a so far unmodified math version in
cmdstan/stan/lib/stan_math
Commented examples can be found in the examples
directory and currently include
linear_ode.{py,stan,md}
: A simple linear ordinary differential equation.1d_gp.{py,stan,md}
: A simple 1D Gaussian process.
Further instructions on how to run the examples can be found in
examples/README.md
.
Soon, results (model+data+command+config) will be automatically cached.
The only thing I do worse than documenting is naming things.