https://github.com/probcomp/genexamples.jl
Gen examples with a Travis CI build that tests that they run
https://github.com/probcomp/genexamples.jl
Last synced: about 2 months ago
JSON representation
Gen examples with a Travis CI build that tests that they run
- Host: GitHub
- URL: https://github.com/probcomp/genexamples.jl
- Owner: probcomp
- License: mit
- Created: 2021-02-12T22:21:55.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-19T21:19:25.000Z (almost 5 years ago)
- Last Synced: 2025-05-08T22:58:10.305Z (11 months ago)
- Language: Julia
- Homepage:
- Size: 126 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GenExamples.jl
[](https://travis-ci.com/probcomp/GenExamples.jl)
A repository containing Gen examples with a Travis CI build that tests that
they run.
In the future, this repo we may also include automated tests for the
approximate correctness of the inferences in each example.
The examples are divided into directories.
Each directory has a `run_all.jl` script that runs all of the examples in the directory.
Each directory contains a Julia environment that suffices to run all of the examples in the directory.
NOTE: These examples take substantially longer to run than Gen's unit tests.
## Examples
- Variants of Bayesian polynomial regression: `regression/`
- Variants of Bayesian inference over the structure of Gaussian process covariance function: `gp_structure/`
- Minimal example of [involutive MCMC](https://arxiv.org/abs/2007.09871): `involutive_mcmc/`
- Decoding a substitution cipher using a bigram model and parallel tempering MCMC: `decode/`
- Minimal example of maximum likelihood estimation: `mle/`
- Reversible jump MCMC in change point model: `coal/`