Skip to content
المشاريع

حول

واجهة بناء النماذج البايزية (Bambi) في Python.

العلوم والهندسة

كيف تُقاس هذه الأرقام

1,312 نجمة163 التفرعات +1 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+١
خلال 7 أيام
+٢
خلال 15 يومًا
+٣
خلال شهر
+٦

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

PyPi version Build Status codecov Code style: black

BAyesian Model-Building Interface in Python

Overview

Bambi is a high-level Bayesian model-building interface written in Python. It's built on top of the PyMC probabilistic programming framework, and is designed to make it extremely easy to fit mixed-effects models common in biology, social sciences, and other disciplines using a Bayesian approach.

Installation

Bambi requires Python 3.12 or later. Install the latest release with pip:

pip install bambi

With uv, add Bambi to your project:

uv add bambi

Or install it with conda:

conda install -c conda-forge bambi

To install the development version from GitHub:

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

Dependencies

Bambi requires working versions of ArviZ, formulae, NumPy, pandas and PyMC. Dependencies are listed in pyproject.toml and should all be installed by the Bambi installer; no further action should be required.

Documentation

Visit the Bambi documentation for guides, examples, and the API reference. Start with the Quickstart, explore the examples gallery, or consult the API reference.

Citation

If you use Bambi and want to cite it please use

@article{Capretto2022,
 title={Bambi: A Simple Interface for Fitting {Bayesian} Linear Models in {Python}},
 volume={103},
 url={https://www.jstatsoft.org/index.php/jss/article/view/v103i15},
 doi={10.18637/jss.v103.i15},
 number={15},
 journal={Journal of Statistical Software},
 author={Capretto, Tom\'{a}s and Piho, Camen and Kumar, Ravin and Westfall, Jacob and Yarkoni, Tal and Martin, Osvaldo A},
 year={2022},
 pages={1–29}
}

Contributions

Bambi 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.

Donations

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

Code of Conduct

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

If you have experienced or witnessed any behaviour that violates our Code of Conduct, we encourage you to report it through this reporting form.

License

MIT License

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…