| What it is | Bayesian modeling and probabilistic programming in Python | Probabilistic programming language for Bayesian statistical modelling | Command-line interface to Stan for compiling and running Bayesian models | Lightweight Python interface to CmdStan |
| Features | - Bayesian models written in Python
- NUTS sampling and ADVI variational inference
- PyTensor backend compiling through Numba, JAX or C, with GPU support
- Gaussian processes, ABC and SMC
- works with ArviZ and Bambi
| - Stan modelling language
- NUTS Hamiltonian Monte Carlo sampling
- ADVI variational inference and L-BFGS optimisation
- Stan Math automatic differentiation library
- interfaces for the command line, Python, R, Julia, MATLAB, Mathematica and Stata
| - MCMC sampling with NUTS (Hamiltonian Monte Carlo)
- optimization with BFGS, L-BFGS and Newton
- Pathfinder and ADVI variational inference
- Laplace sampling
- stansummary and diagnose for MCMC output
- stanc3 compiler from Stan to C++
| - compile Stan models and run every CmdStan inference method
- pure Python, depends only on numpy and pandas
- development-friendly defaults with full control for production
- installs CmdStan for you
|