https://github.com/wardbrian/tinystan
Easy, minimal interface to the Stan samplers in several languages
https://github.com/wardbrian/tinystan
c ffi julia python r stan
Last synced: about 2 months ago
JSON representation
Easy, minimal interface to the Stan samplers in several languages
- Host: GitHub
- URL: https://github.com/wardbrian/tinystan
- Owner: WardBrian
- License: bsd-3-clause
- Created: 2023-07-01T04:01:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T16:21:43.000Z (about 2 months ago)
- Last Synced: 2025-04-12T18:13:02.331Z (about 2 months ago)
- Topics: c, ffi, julia, python, r, stan
- Language: Python
- Homepage: http://brianward.dev/tinystan/
- Size: 1.93 MB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TinyStan
> [!WARNING]
> This project is still under active development. The API is not yet stable, and the documentation is incomplete. Using before a 1.0 release is not recommended for most users.**TinyStan** is a library that provides a C interface to the [Stan](https://mc-stan.org) algorithms, such as sampling with the No-U-Turn Sampler (NUTS),
and language bindings in Julia, Python, and R.It is intended to be a counterpart to [BridgeStan](https://github.com/roualdes/bridgestan), which provides a C interface to the methods of a Stan *model*.
Similar packages are [PyStan](https://mc-stan.org/users/interfaces/pystan) and [RStan](https://mc-stan.org/users/interfaces/rstan).
TinyStan differs from those packages by working at a lower level of interaction between the user's language and Stan, in a way
which should be more portable. No language-specific code is required to compile TinyStan, and the same model can be used from
any of the supported languages.