Skip to content

Birch Examples

Example models for the Birch probabilistic programming language.


Birch is open source software.

It is licensed under the Apache License, Version 2.0 (the "License"); you may not use it except in compliance with the License. You may obtain a copy of the License at


To build and install, use:

birch build
birch install

See the documentation for the individual model classes in the bi/model directory, or use the online documentation for suggested commands to run.


This package contains data sets that have been prepared into JSON format for Birch. They are:


  1. Anonymous (1978). Influenza in a boarding school. British Medical Journal. 1:587.

  2. H. Fanaee-T and J. Gama (2014). Event labeling combining ensemble detectors and background knowledge. Progress in Artificial Intelligence. 2:113-127.

  3. F. Lindsten and T. B. Schön (2010). Identification of mixed linear/nonlinear state-space models. In 49th IEEE Conference on Decision and Control (CDC). 6377–6382.

  4. L.M. Murray, D. Lundén, J. Kudlicka, D. Broman and T.B. Schön (2018). Delayed Sampling and Automatic Rao–Blackwellization of Probabilistic Programs. In Proceedings of the 21st International Conference on Artificial Intelligence and Statistics (AISTATS) 2018, Lanzarote, Spain.

Version history


  • Pre-release.