Skip to main content

Python Graphical Models Toolbox

Project description

pyGM : 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 pyGM, 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.1.0.tar.gz (67.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyGMs-0.1.0-py3-none-any.whl (157.8 kB view details)

Uploaded Python 3

File details

Details for the file pyGMs-0.1.0.tar.gz.

File metadata

  • Download URL: pyGMs-0.1.0.tar.gz
  • Upload date:
  • Size: 67.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for pyGMs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 337816551159c2b147117fafd46045a9a9f960935e3336547f4aafb24b82e206
MD5 e21c7158aef830e99b50641023b67da6
BLAKE2b-256 c2a13de5824425580511b419a8bc132ca78e96907bad189e503f1e8136fa474c

See more details on using hashes here.

File details

Details for the file pyGMs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyGMs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 157.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for pyGMs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5917c6f358159189584b1bd6a9e73f6adc9cf398a8ef34d05aa1a41bbb0e52fe
MD5 3896123c927e82e435dd9ee4bdf0c948
BLAKE2b-256 d0404a6118f65b995035d189ba136e16d096fad17dcde6fb5f631d571e41595c

See more details on using hashes here.

Supported by

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