All Projects → pgmpy → Pgmpy

pgmpy / Pgmpy

Licence: mit
Python Library for learning (Structure and Parameter) and inference (Probabilistic and Causal) in Bayesian Networks.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Pgmpy

drtmle
Nonparametric estimators of the average treatment effect with doubly-robust confidence intervals and hypothesis tests
Stars: ✭ 14 (-99.28%)
Mutual labels:  statistical-inference, causal-inference
markovian
🎲 A Kotlin DSL for probabilistic programming.
Stars: ✭ 13 (-99.33%)
Mutual labels:  bayesian-networks, probabilistic-graphical-models
Dowhy
DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
Stars: ✭ 3,480 (+79.2%)
Mutual labels:  bayesian-networks, causal-inference
Deeplearning Notes
Notes for Deep Learning Specialization Courses led by Andrew Ng.
Stars: ✭ 126 (-93.51%)
Mutual labels:  statistics
Flex
Probabilistic deep learning for data streams.
Stars: ✭ 127 (-93.46%)
Mutual labels:  statistics
Hsreplay.net
🔶 Unleash your Potential!
Stars: ✭ 132 (-93.2%)
Mutual labels:  statistics
Criterion.rs
Statistics-driven benchmarking library for Rust
Stars: ✭ 2,153 (+10.87%)
Mutual labels:  statistics
Contributions.taminomartinius.de
Website to display a bunch of different commit statistics fetched by GitHub GraphQL API
Stars: ✭ 125 (-93.56%)
Mutual labels:  statistics
Mca
Multiple correspondence analysis
Stars: ✭ 138 (-92.89%)
Mutual labels:  statistics
Glmm In Python
Generalized linear mixed-effect model in Python
Stars: ✭ 131 (-93.25%)
Mutual labels:  statistics
Streaker
🔥 GitHub contribution streak & stat tracking menu bar app
Stars: ✭ 131 (-93.25%)
Mutual labels:  statistics
Lifelines
Survival analysis in Python
Stars: ✭ 1,766 (-9.06%)
Mutual labels:  statistics
Appelpy
Applied Econometrics Library for Python
Stars: ✭ 136 (-93%)
Mutual labels:  statistics
Teaching Monolith
Data science teaching materials
Stars: ✭ 126 (-93.51%)
Mutual labels:  statistics
Interactive machine learning
IPython widgets, interactive plots, interactive machine learning
Stars: ✭ 140 (-92.79%)
Mutual labels:  statistics
G2
📊 A highly interactive data-driven visualization grammar for statistical charts.
Stars: ✭ 11,020 (+467.46%)
Mutual labels:  statistics
Gameday api
A Ruby API for using the Major League Baseball Gameday statistics data. MLB provides very deep statistics for all major league baseball games through Gameday. Statistics include not only the typical boxscore stats, but also down to the physics of every single pitch thrown in the game. You can find the speed, movement, and position of every pitch thrown. The Gameday API makes it easy for Ruby developers to work with all this statistical information. The test directory included with the source code contains many examples of how the API can be used. If you prefer to use SVN, the gameday_api is also available via an SVN repository at: http://code.google.com/p/gamedayapi/ If you like this project, be sure to also check out the Baseball-Tracker project also hosted on GitHub. Baseball-Tracker is a web application that uses the gameday_api. You can find a hosted version of Baseball Tracker at http://baseballstatz.heroku.com
Stars: ✭ 137 (-92.95%)
Mutual labels:  statistics
Xcode Time Tracker
Stars: ✭ 131 (-93.25%)
Mutual labels:  statistics
Stldecompose
A Python implementation of Seasonal and Trend decomposition using Loess (STL) for time series data.
Stars: ✭ 130 (-93.31%)
Mutual labels:  statistics
Rpy2
Interface to use R from Python
Stars: ✭ 132 (-93.2%)
Mutual labels:  statistics

pgmpy

Build codecov Codacy Badge Downloads Join the chat at https://gitter.im/pgmpy/pgmpy asv

pgmpy is a python library for working with Probabilistic Graphical Models.

Documentation and list of algorithms supported is at our official site http://pgmpy.org/
Examples on using pgmpy: https://github.com/pgmpy/pgmpy/tree/dev/examples
Basic tutorial on Probabilistic Graphical models using pgmpy: https://github.com/pgmpy/pgmpy_notebook

Our mailing list is at https://groups.google.com/forum/#!forum/pgmpy .

We have our community chat at gitter.

Dependencies

pgmpy has following non optional dependencies:

  • python 3.6 or higher
  • networkX
  • scipy
  • numpy
  • pytorch

Some of the functionality would also require:

  • tqdm
  • pandas
  • pyparsing
  • statsmodels
  • joblib

Installation

pgmpy is available both on pypi and anaconda. For installing through anaconda use:

$ conda install -c ankurankan pgmpy

For installing through pip:

$ pip install -r requirements.txt  # only if you want to run unittests
$ pip install pgmpy

To install pgmpy from the source code:

$ git clone https://github.com/pgmpy/pgmpy 
$ cd pgmpy/
$ pip install -r requirements.txt
$ python setup.py install

If you face any problems during installation let us know, via issues, mail or at our gitter channel.

Development

Code

Our latest codebase is available on the dev branch of the repository.

Contributing

Issues can be reported at our issues section.

Before opening a pull request, please have a look at our contributing guide

Contributing guide contains some points that will make our life's easier in reviewing and merging your PR.

If you face any problems in pull request, feel free to ask them on the mailing list or gitter.

If you want to implement any new features, please have a discussion about it on the issue tracker or the mailing list before starting to work on it.

Testing

After installation, you can launch the test form pgmpy source directory (you will need to have the pytest package installed):

$ pytest -v

to see the coverage of existing code use following command

$ pytest --cov-report html --cov=pgmpy

Documentation and usage

The documentation is hosted at: http://pgmpy.org/

We use sphinx to build the documentation. To build the documentation on your local system use:

$ cd /path/to/pgmpy/docs
$ make html

The generated docs will be in _build/html

Examples

We have a few example jupyter notebooks here: https://github.com/pgmpy/pgmpy/tree/dev/examples For more detailed jupyter notebooks and basic tutorials on Graphical Models check: https://github.com/pgmpy/pgmpy_notebook/

Citing

Please use the following bibtex for citing pgmpy in your research:

@inproceedings{ankan2015pgmpy,
  title={pgmpy: Probabilistic graphical models using python},
  author={Ankan, Ankur and Panda, Abinash},
  booktitle={Proceedings of the 14th Python in Science Conference (SCIPY 2015)},
  year={2015},
  organization={Citeseer}
}

License

pgmpy is released under MIT License. You can read about our license at here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].