PyStan: The Python Interface to Stan¶
Tip
PyStan 3 is available for Linux and macOS users. Visit the PyStan 3 documentation for details. PyStan 2 is not maintained.
PyStan provides an interface to Stan, a package for Bayesian inference using the No-U-Turn sampler, a variant of Hamiltonian Monte Carlo.
License: Open source, GPL3
Documentation¶
- What’s New
- Getting started
- Detailed Installation Instructions
- Prerequisite knowledge
- Installing PyStan with Support for Stiff ODE Solvers (CVODES)
- Optimization in Stan
- Avoiding recompilation of Stan models
- HMC: Euclidian Metric
- Differences between PyStan and RStan
- API
- Conversion utilities for Stan’s R Dump format
- Logging
- Threading Support with Pystan 2.18+
- PyStan on Windows
- External C++ (experimental)
- Unpickling fit without Model instance (experimental)
Stan documentation¶
Stan Discourse¶
Important links¶
- Source code repo: https://github.com/stan-dev/pystan
- HTML documentation: http://pystan2.readthedocs.org
- Issue tracker: https://github.com/stan-dev/pystan/issues
Similar projects¶
PyStan3 / Stan3¶
The development of PyStan3 with updated API can be found under stan-dev/pystan-next