beanmachine-0.2.0


توضیحات

Probabilistic Programming Language for Bayesian Inference
ویژگی مقدار
سیستم عامل -
نام فایل beanmachine-0.2.0
نام beanmachine
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Meta Platforms, Inc.
ایمیل نویسنده -
آدرس صفحه اصلی https://beanmachine.org
آدرس اینترنتی https://pypi.org/project/beanmachine/
مجوز MIT
# Bean Machine <div align="center"> <a href="http://beanmachine.org"> <img width="220px" height="220px" src="https://beanmachine.org/img/beanmachine.svg"></a> </div> [![Lint](https://github.com/facebookresearch/beanmachine/actions/workflows/lint.yml/badge.svg)](https://github.com/facebookresearch/beanmachine/actions/workflows/lint.yml) [![Tests](https://github.com/facebookresearch/beanmachine/actions/workflows/test.yml/badge.svg)](https://github.com/facebookresearch/beanmachine/actions/workflows/test.yml) [![PyPI](https://img.shields.io/pypi/v/beanmachine)](https://pypi.org/project/beanmachine) ## Overview Bean Machine is a probabilistic programming language for inference over statistical models written in the Python language using a declarative syntax. Bean Machine is built on top of PyTorch and Bean Machine Graph, a custom C++ backend. Check out our [tutorials](https://beanmachine.org/docs/overview/tutorials/Coin_flipping/CoinFlipping/) and [Quick Start](https://beanmachine.org/docs/overview/quick_start/) to get started! ## Installation Bean Machine supports Python 3.7-3.10 and PyTorch 1.12. ### Install the Latest Release with Pip ```bash python -m pip install beanmachine ``` ### Install from Source To download the latest Bean Machine source code from GitHub: ```bash git clone https://github.com/facebookresearch/beanmachine.git cd beanmachine ``` Then, you can choose from any of the following installation options. #### Anaconda We recommend using [conda](https://docs.conda.io/en/latest/) to manage the virtual environment and install the necessary build dependencies. ```bash conda create -n {env name} python=3.8; conda activate {env name} conda install -c conda-forge boost-cpp eigen=3.4.0 python -m pip install . ``` #### Docker ```bash docker build -t beanmachine . docker run -it beanmachine:latest bash ``` #### Validate Installation If you would like to run the builtin unit tests: ```bash python -m pip install "beanmachine[test]" pytest src ``` ## License Bean Machine is MIT licensed, as found in the [LICENSE](LICENSE) file.


نیازمندی

مقدار نام
>=0.12.1 arviz
>=0.7.1 astor
==22.3.0 black
>=0.5.1 botorch
<1.9.0,>=1.3.0 gpytorch
>=0.17 graphviz
>=0.2.0 functorch
>=1.18.1 numpy
>=0.24.2 pandas
>=2.2.1 plotly
>=0.16 scipy
>=0.12.0 statsmodels
>=1.9.0 torch
>=4.46.0 tqdm
>=3.10 typing-extensions
>=0.16.0 xarray
<=1.5.8 netCDF4
>=7.0.0 pytest
- pytest-cov
- bokeh
- cma
- ipywidgets
- jupyter
>=4.9 lxml
- matplotlib
- mdformat
- mdformat-myst
>=1.0.0 scikit-learn
- seaborn
- tabulate
- torchvision
==4.0.1 flake8
- flake8-bugbear
==0.4.1 libcst
- nbval
==4.2.0 sphinx
- sphinx-autodoc-typehints
- sphinx-rtd-theme
>=0.10.2 toml
==1.3.2 ufmt
==1.0.2 usort
>=7.0.0 pytest
- pytest-cov
- bokeh
- cma
- ipywidgets
- jupyter
>=4.9 lxml
- matplotlib
- mdformat
- mdformat-myst
>=1.0.0 scikit-learn
- seaborn
- tabulate
- torchvision


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl beanmachine-0.2.0:

    pip install beanmachine-0.2.0.whl


نصب پکیج tar.gz beanmachine-0.2.0:

    pip install beanmachine-0.2.0.tar.gz