https://github.com/architecture-building-systems/pymc3

Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano

https://github.com/architecture-building-systems/pymc3

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, scholar.google
  • Committers with academic emails
    8 of 101 committers (7.9%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.7%) to scientific vocabulary

Keywords from Contributors

hut23 hut23-522 bayesian-inference variational-inference pytensor probabilistic-programming mcmc statistical-analysis closember optimizing-compiler
Last synced: 10 months ago · JSON representation

Repository

Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano

Basic Info
Statistics
  • Stars: 1
  • Watchers: 10
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Fork of pymc-devs/pymc
Created over 9 years ago · Last pushed over 9 years ago
Metadata Files
Readme Changelog Contributing License

README.rst

.. image:: https://github.com/pymc-devs/pymc3/blob/master/docs/pymc3_logo.jpg?raw=true
    :alt: PyMC3 logo
    :align: center

|Gitter| |Build Status| |Coverage|

PyMC3 is a Python package for Bayesian statistical modeling and Probabilistic Machine Learning
which focuses on advanced Markov chain Monte Carlo and variational fitting
algorithms. Its flexibility and extensibility make it applicable to a
large suite of problems.

Check out the `getting started
guide `__!

Features
--------

-  Intuitive model specification syntax, for example, ``x ~ N(0,1)``
   translates to ``x = Normal('x',0,1)``
-  **Powerful sampling algorithms**, such as the `No U-Turn
   Sampler `__, allow complex models
   with thousands of parameters with little specialized knowledge of
   fitting algorithms.
-  **Variational inference**: `ADVI `__
   for fast approximate posterior estimation as well as mini-batch ADVI
   for large data sets.
-  Relies on `Theano `__ which provides:
    *  Computation optimization and dynamic C compilation
    *  Numpy broadcasting and advanced indexing
    *  Linear algebra operators
    *  Simple extensibility
-  Transparent support for missing value imputation

Getting started
---------------

-  The `PyMC3 tutorial `__ 
-  `PyMC3 examples `__
   and the `API reference `__
-  `Probabilistic Programming and Bayesian Methods for Hackers `__
-  `Bayesian Modelling in Python -- tutorials on Bayesian statistics and
   PyMC3 as Jupyter Notebooks by Mark
   Dregan `__
-  `Talk at PyData London 2016 on
   PyMC3 `__
-  `PyMC3 port of the models presented in the book "Doing Bayesian Data
   Analysis" by John
   Kruschke `__
-  `Coyle P. (2016) Probabilistic programming and PyMC3. European Scientific Python Conference 2015 (Cambridge, UK) `__
-  `Bayesian Analysis with Python by Osvaldo Martin `__

Installation
------------

The latest release of PyMC3 can be installed from PyPI using ``pip``:

::

    pip install pymc3

**Note:** Running ``pip install pymc`` will install PyMC 2.3, not PyMC3,
from PyPI.

Or via conda-forge:

::

    conda install -c conda-forge pymc3

The current development branch of PyMC3 can be installed from GitHub, also using ``pip``:

::

    pip install git+https://github.com/pymc-devs/pymc3

To ensure the development branch of Theano is installed alongside PyMC3
(recommended), you can install PyMC3 using the ``requirements.txt``
file. This requires cloning the repository to your computer:

::

    git clone https://github.com/pymc-devs/pymc3
    cd pymc3
    pip install -r requirements.txt

However, if a recent version of Theano has already been installed on
your system, you can install PyMC3 directly from GitHub.

Another option is to clone the repository and install PyMC3 using
``python setup.py install`` or ``python setup.py develop``.


Dependencies
------------

PyMC3 is tested on Python 2.7 and 3.5 and depends on Theano, NumPy,
SciPy, Pandas, and Matplotlib (see ``requirements.txt`` for version
information).

Optional
~~~~~~~~

In addtion to the above dependencies, the GLM submodule relies on
`Patsy `__.

`scikits.sparse `__
enables sparse scaling matrices which are useful for large problems.

Citing PyMC3
------------

Salvatier J, Wiecki TV, Fonnesbeck C. (2016) Probabilistic programming
in Python using PyMC3. PeerJ Computer Science 2:e55
https://doi.org/10.7717/peerj-cs.55

License
-------

`Apache License, Version
2.0 `__


Software using PyMC3
--------------------

 - `Bambi `__: BAyesian Model-Building Interface (BAMBI) in Python.
 - `NiPyMC `__: Bayesian mixed-effects modeling of fMRI data in Python.
 - `gelato `__: Bayesian Neural Networks with PyMC3 and Lasagne.
 - `beat `__: Bayesian Earthquake Analysis Tool.
 - `Edward `__: A library for probabilistic modeling, inference, and criticism.

Please contact us if your software is not listed here.

Papers citing PyMC3
-------------------

See `Google Scholar `__ for a continuously updated list.

Contributors
------------

See the `GitHub contributor
page `__

Sponsors
--------

|NumFOCUS|

|Quantopian|

.. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg
   :target: https://gitter.im/pymc-devs/pymc?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
.. |Build Status| image:: https://travis-ci.org/pymc-devs/pymc3.png?branch=master
   :target: https://travis-ci.org/pymc-devs/pymc3
.. |Coverage| image:: https://coveralls.io/repos/github/pymc-devs/pymc3/badge.svg?branch=master
   :target: https://coveralls.io/github/pymc-devs/pymc3?branch=master 
.. |NumFOCUS| image:: http://www.numfocus.org/uploads/6/0/6/9/60696727/1457562110.png
   :target: http://www.numfocus.org/
.. |Quantopian| image:: https://raw.githubusercontent.com/pymc-devs/pymc3/master/docs/quantopianlogo.jpg
   :target: https://quantopian.com

Owner

  • Name: Architecture and Building Systems
  • Login: architecture-building-systems
  • Kind: organization
  • Email: silvestri@arch.ethz.ch

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 4,054
  • Total Committers: 101
  • Avg Commits per committer: 40.139
  • Development Distribution Score (DDS): 0.735
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Chris Fonnesbeck c****k@v****u 1,075
Anand Patil a****l@g****m 1,049
John Salvatier j****r@g****m 643
David Huard h****a@a****a 395
Thomas Wiecki t****i@g****m 303
Kyle Meyer k****e@k****m 80
springcoil p****e@g****m 37
AustinRochford a****d@m****m 37
aloctavodia a****a@g****m 36
mwibrow m****w@g****m 34
Thomas Kluyver t****l@g****m 33
taku-y t****6@g****m 32
Colin C****l 29
Benjamin Edwards b****s@c****u 20
colin c****n@k****m 19
Sergei Lebedev s****y@g****m 15
kiudee q****h@g****m 12
Wes McKinney w****n@g****m 11
A. Flaxman a****e@a****u 9
A Kuz f****z@g****m 9
Chad Heyne c****e@g****m 8
Imri Sofer i****r@g****m 7
jonsedar j****r@a****i 7
jonsedar j****n@s****o 7
Andrea Zonca c****e@a****m 5
taku-y t****y@s****l 5
brandon willard b****d@g****m 5
tyarkoni t****i@g****m 5
Zach Ploskey z****y@g****m 5
beckermr b****r@g****m 4
and 71 more...

Issues and Pull Requests

Last synced: over 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

scripts/Dockerfile docker
  • jupyter/minimal-notebook latest build
requirements.txt pypi
  • CommonMark ==0.5.4
  • joblib >=0.9
  • matplotlib >=1.5.0
  • nbsphinx *
  • numpy >=1.11.0
  • numpydoc *
  • pandas >=0.18.0
  • patsy >=0.4.0
  • recommonmark *
  • scipy >=0.12.0
  • sphinx *
  • theano >=0.8.2
  • tqdm >=4.8.4
setup.py pypi