Skip to main content

Tool for learning prior distributions based on expert knowledge

Project description

DOI License Tests Documentation

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:

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
Florence Bockting

Paul-Christian Bürkner
Paul-Christian Bürkner
Contributors

Luna Fazio
Luna Fazio


🖋
Stefan T. Radev
Stefan T. Radev


🖋

This project follows the all-contributors specification. Contributions of any kind welcome!

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

elicits-0.0.6.tar.gz (51.9 kB view details)

Uploaded Source

Built Distribution

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

elicits-0.0.6-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file elicits-0.0.6.tar.gz.

File metadata

  • Download URL: elicits-0.0.6.tar.gz
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.8 Windows/11

File hashes

Hashes for elicits-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d8c4aa66bfe41e1e8f566aef9dbb68b2a57385e955af55541140eb367a4db6bb
MD5 449e344a4dfde889cdee9a43bdc8ce48
BLAKE2b-256 8c2bdf64a41e19724237ee2aefcbfa4723cf771927233cd46c1ed39146535116

See more details on using hashes here.

File details

Details for the file elicits-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: elicits-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 61.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.8 Windows/11

File hashes

Hashes for elicits-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ba4e6b06e183eaf9a8ad5c207e15ce8c8420876a3ebac3fd91006c5d262fe71c
MD5 d7b55f8b4bc1fc5b6e34e27e5d02d22c
BLAKE2b-256 bb89ad76b014f44cecd4476a8071aee3759b75135c26166e9d5c7960beb8123c

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