Skip to content

probcomp/Gen.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gen.jl

Build Status Documentation (Stable) Documentation (Dev) GitHub Release

A general-purpose probabilistic programming system with programmable inference, embedded in Julia.

See https://gen.dev for introduction, documentation, and tutorials.

Features

Installation

The Gen package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and then run:

add Gen

To install the latest development version, you may instead run:

add https://github.com/probcomp/Gen.jl.git

Gen can now be used in the Julia REPL, or at the top of a script:

using Gen

To test the installation locally, you can run the tests with:

using Pkg; Pkg.test("Gen")

Questions and Contributions

If you have questions about using Gen.jl, feel free to open a discussion on GitHub. If you encounter a bug, please open an issue. We also welcome bug fixes and feature additions as pull requests. Please refer to our contribution guidelines for more details.

Supporting and Citing

Gen.jl is part of ongoing research at the MIT Probabilistic Computing Project. To get in contact, please email [email protected].

If you use Gen in your research, please cite our 2019 PLDI paper:

Gen: A General-Purpose Probabilistic Programming System with Programmable Inference. Cusumano-Towner, M. F.; Saad, F. A.; Lew, A.; and Mansinghka, V. K. In Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI ‘19). (pdf) (bibtex)