Skip to content

cranmer/carl

 
 

Repository files navigation

carl

Build Status Coverage StatusDOI

Likelihood-free inference toolbox. Supported features include:

  • Composition and fitting of distributions;
  • Likelihood-free inference from classifiers;
  • Parameterized supervised learning;
  • Calibration tools.

Note: carl is still in its early stage of development. Join us if you feel like contributing!

Installation

The following dependencies are required:

  • Numpy >= 1.10
  • Scipy >= 0.17
  • Scikit-Learn >= 0.18-dev
  • Theano >= 0.8-dev

Once satisfied, carl can be installed from source using the following commands:

git clone https://github.com/diana-hep/carl.git
cd carl
python setup.py install

Documentation

Illustrative examples serving as documentation can be found under the examples/ directory.

Extended details regarding likelihood-free inference with calibrated classifiers can be found in the companion paper:

"Approximating Likelihood Ratios with Calibrated Discriminative Classifiers", Kyle Cranmer, Juan Pavez, Gilles Louppe.
http://arxiv.org/abs/1506.02169

Citation

@misc{carl,
  author       = {Gilles Louppe and Kyle Cranmer and Juan Pavez},
  title        = {carl: a likelihood-free inference toolbox},
  month        = mar,
  year         = 2016,
  doi          = {10.5281/zenodo.47798},
  url          = {http://dx.doi.org/10.5281/zenodo.47798}
}

About

Likelihood-free inference toolbox.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.3%
  • Shell 1.7%