Skip to main content

Python Graphical Models Toolbox

Project description

pyGMs : A Python toolbox for Graphical Models

This code provides a simple Python-based interface for defining probabilistic graphical models (Bayesian networks, factor graphs, etc.) over discrete random variables, along with a number of routines for approximate inference. It is being developed for use in teaching, as well as prototyping for research.

The code currently uses NumPy for representing and operating on the table-based representation of discrete factors, and SortedContainers for some internal representations. Smaller portions use networkx and scipy as well.

Installation

Simply download or clone the repository to a directory pyGMs, and add its parent directory to your Python path, either:

$ export PYTHONPATH=${PYTHONPATH}:/directory/containing/

or in Python

import sys
sys.path.append('/directory/containing/')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyGMs-0.2.0.tar.gz (129.3 kB view hashes)

Uploaded Source

Built Distribution

pyGMs-0.2.0-py3-none-any.whl (126.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page