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.2.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

kulprit-0.2.0-py2.py3-none-any.whl (21.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: kulprit-0.2.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for kulprit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e3990e1cb6348382755e0b4faf386ec1740d49f9d6cc14ca07340c1f6aa98175
MD5 9ce56265efdaae3f62d14dc1348cb024
BLAKE2b-256 5f1581f0f2cf48566f4255835dd59b3ea2c6959eb3843d649768de8ac7e72224

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kulprit-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for kulprit-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8c87a835f6bf436d19fa038323c71abb88eff19f3ee98294968008ed514686f2
MD5 64d715d3f9bd1bd6149ec20bc2e1b05a
BLAKE2b-256 375e8e6a73c321385cc867eadb660c8dbb5c04bca37b7c1f43513f6ccc1476d9

See more details on using hashes here.

Supported by

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