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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyGMs-0.2.0.tar.gz
  • Upload date:
  • Size: 129.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for pyGMs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f6b221bf7154a11431f3f344ecb15e82c3e1031a3bc9c041a1a39fb22cc2b767
MD5 ba8ac23f545e6f7809fb434232a81bc1
BLAKE2b-256 9544d5f5b6b70aef1af97aed33d4ce35d86de111de4f6dcbfe9891a5d47e1a42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyGMs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 126.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for pyGMs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c1540be449b787065fd3dbd77281f6871668783075b0d54952d97f551b5f301
MD5 88cce7219841c211d156840a5bafb6c9
BLAKE2b-256 86c9c6677d4a77834fe7e90f0a52cd2e4151f765ee8f2a03a05dbcc693039b34

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