This project has been archived by its maintainers, and is no longer receiving any updates.
Learning prior distributions based on expert knowledge (Expert knowledge elicitation)
Note: This project is still in the development stage and not yet tested for practical use.
Description
The elicit package provides a simulation-based framework for learning either parametric or non-parametric, as well as independent or join prior distributions for parameters in a Bayesian model based on expert knowledge.
Further information can be found in the corresponding papers:
- Bockting, F., Radev S. T., & Bürkner P. C. (2024) Expert-elicitation method for non-parametric joint priors using normalizing flows. Preprint at https://arxiv.org/abs/2411.15826
- Bockting, F., Radev, S. T. & Bürkner, P. C. (2024). Simulation-based prior knowledge elicitation for parametric Bayesian models. Scientific Reports 14, 17330 (2024). https://doi.org/10.1038/s41598-024-68090-7
Installation
- requires: Python >=3.10 and < 3.12
Via pip and virtual environments
If you want to use a python environment (here with virtualenv)
# create an environment
virtualenv elicit-env python=python3.11
# activate it
source elicit-env/Scripts/activate
Another option is the use of a conda environment
# create an environment
conda create --name=elicit-env python==3.11
# activate it
conda activate elicit-env
Install package via pip
# install elicit package
pip install elicits
Install from GitHub
Install elicit from GitHub via
pip install git+https://github.com/florence-bockting/elicit
If you need access to the source code, instead use
git clone git@github.com:florence-bockting/elicit.git
cd elicit
pip install -e .
Usage
See our project website with tutorials for usage examples.
License
This work is licensed under multiple licences:
- All original source code is licensed under Apache License 2.0.
- All documentation is licensed under CC-BY-SA-4.0.
Documentation
Documentation for this project can be found on the project website.
Citation and Reference
This work builds on the following references
- Bockting, F., Radev, S. T., & Bürkner, P. C. (2024). Simulation-based prior knowledge elicitation for parametric Bayesian models. Scientific Reports, 14(1), 17330. (see PDF)
- Bockting, F., Radev S. T., & Bürkner P. C. (2024) Expert-elicitation method for non-parametric joint priors using normalizing flows. Preprint at https://arxiv.org/abs/2411.15826
BibTeX:
@article{bockting2024simulation,
title={Simulation-based prior knowledge elicitation for parametric Bayesian models},
author={Bockting, Florence and Radev, Stefan T and B{\"u}rkner, Paul-Christian},
journal={Scientific Reports},
volume={14},
number={1},
pages={17330},
year={2024},
doi={10.1038/s41598-024-68090-7},
publisher={Nature Publishing Group UK London}
}
@article{bockting2024expert,
title={Expert-elicitation method for non-parametric joint priors using normalizing flows},
author={Bockting, Florence and Radev, Stefan T and B{\"u}rkner, Paul-Christian},
journal={arXiv preprint},
year={2024},
doi={https://arxiv.org/abs/2411.15826}
}
Authors and Contributors
You are very welcome to contribute to our project. If you find an issue or have a feature request, please use our issue templates. For those of you who would like to contribute to our project, please have a look at our contributing guidelines.
Authors
Florence Bockting |
Paul-Christian Bürkner |
Luna Fazio 🖋 |
Stefan T. Radev 🖋 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Metadata
Release files for elicits 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| elicits-0.0.7.tar.gz | 51.9 kB | Without provenance | Details for elicits-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| elicits-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for elicits-0.0.7-py3-none-any.whl |
Total release size: 113.6 kB
Release files / elicits-0.0.7.tar.gz
| Download URL | elicits-0.0.7.tar.gz |
|---|---|
| Size | 51.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10b4c7a2a14523a394d04294fa85b36b0e501b4f96658bf036091897cab51ad6
|
|
BLAKE2b-256 checksum How to use checksums |
4a6389b7af17ba42d3a6f782b3d89f3e00d6dbf2dfb6d1c2b72d752ed878fb9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.12.8 Windows/11
|
Release files / elicits-0.0.7-py3-none-any.whl
| Download URL | elicits-0.0.7-py3-none-any.whl |
|---|---|
| Size | 61.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4bb86779d9c862206451d1808ef48561e0f792db83e6d333fc32d28d193156b0
|
|
BLAKE2b-256 checksum How to use checksums |
2d1f382c104b129c4f37c086e34f32a8a1e6cd7109f773867716a52a867cdc62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.12.8 Windows/11
|
Security for elicits 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.