Skip to main content

Kullback-Leibler projections for Bayesian model selection.

Project description

Kullback-Leibler projections for Bayesian model selection in Python.

PyPi version Build Status codecov Code style: black

Overview

Kulprit (Pronounced: kuːl.prɪt) is a package for variable selection for Bambi models. Kulprit is under active development so use it with care. If you find any bugs or have any feature requests, please open an issue.

Installation

Kulprit requires a working Python interpreter (3.9+). We recommend installing Python and key numerical libraries using the Anaconda Distribution, which has one-click installers available on all major platforms.

Assuming a standard Python environment is installed on your machine (including pip), Kulprit itself can be installed in one line using pip:

pip install kulprit

Alternatively, if you want the bleeding edge version of the package you can install it from GitHub:

pip install git+https://github.com/bambinos/kulprit.git

Documentation

The Kulprit documentation can be found in the official docs. If you are not familiar with the theory behind Kulprit or need some practical advice on how to use Kulprit or interpret its results, we recommend you read the paper Robust and efficient projection predictive inference. You may also find useful this guide on Cross-Validation and model selection.

Development

Read our development guide in CONTRIBUTING.md.

Contributions

Kulprit is a community project and welcomes contributions. Additional information can be found in the Contributing Readme.

For a list of contributors see the GitHub contributor page

Citation

If you use Bambi and want to cite it please use

@misc{mclatchie2023,
    title={Robust and efficient projection predictive inference}, 
    author={Yann McLatchie and Sölvi Rögnvaldsson and Frank Weber and Aki Vehtari},
    year={2023},
    eprint={2306.15581},
    archivePrefix={arXiv},
    primaryClass={stat.ME}
}

Donations

If you want to support Kulprit financially, you can make a donation to our sister project PyMC.

Code of Conduct

Kulprit wishes to maintain a positive community. Additional details can be found in the Code of Conduct

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kulprit-0.3.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kulprit-0.3.0-py2.py3-none-any.whl (14.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file kulprit-0.3.0.tar.gz.

File metadata

  • Download URL: kulprit-0.3.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for kulprit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d857e70d5685b19953fd195d97d4ccf6555a5d05434bb93636c77f450c6bc7b7
MD5 4fdf6e3d58df34c27e90510e5057b439
BLAKE2b-256 af04125ea8bcc1392214721457d68069d99b89cfa059a571a072213a6f16f5ea

See more details on using hashes here.

File details

Details for the file kulprit-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: kulprit-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for kulprit-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f5a75236fb2adc0043aad5babe634d899091fb39f5dc35096f0cbd72d7090643
MD5 941427cdec0688c3b90819fcaebffcf9
BLAKE2b-256 91f2ed25f1ed83f8ed3eae060e3747ec836ce1d206358d56fb30da5475688422

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page