GithubHelp home page GithubHelp logo

zitongzhou / beanmachine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebookresearch/beanmachine

0.0 0.0 0.0 149.64 MB

A library that allows for inference on probabilistic models

Home Page: https://beanmachine.org/

License: MIT License

Python 74.42% C++ 24.94% JavaScript 0.51% CSS 0.07% Makefile 0.05% Dockerfile 0.01%

beanmachine's Introduction

Bean Machine

Lint Tests PyPI

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 and Quick Start to get started!

Installation

Bean Machine supports Python 3.7-3.9 and PyTorch 1.10.

Install the Latest Release with Pip

python -m pip install beanmachine

Install from Source

To download the latest Bean Machine source code from GitHub:

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 to manage the virtual environment and install the necessary build dependencies.

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

docker build -t beanmachine .
docker run -it beanmachine:latest bash

Validate Installation

If you would like to run the builtin unit tests:

python -m pip install "beanmachine[test]"
pytest src

License

Bean Machine is MIT licensed, as found in the LICENSE file.

beanmachine's People

Contributors

horizon-blue avatar ericlippert avatar jpchen avatar rodrigodesalvobraz avatar wtaha avatar michaeltingley avatar zaxtax avatar ndmlny-qs avatar feynmanliang avatar toddsmall avatar jknoxville avatar antonk52 avatar brianjo avatar dmitryvinn avatar mootaz77 avatar jakee417 avatar vmoens avatar facebook-github-bot avatar ntfrgl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.