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.3.0.tar.gz (135.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.3.0-py3-none-any.whl (133.7 kB view details)

Uploaded Python 3

File details

Details for the file pygms-0.3.0.tar.gz.

File metadata

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

File hashes

Hashes for pygms-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a1ebd481cdf3e545d2c4ead06b28fbc174c05ec899fc955f1424be5c15d54c6c
MD5 a35b6bd692ec107da72b1017eb68452a
BLAKE2b-256 37b4c91727cdb1f891a59d553d1a1ab9afeb0a8fd956082e442c5a0f5739603b

See more details on using hashes here.

File details

Details for the file pygms-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pygms-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 133.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c0b3a1cec97e0ca813cbd5fdfbb8de4a267c47fe1da26c4482f9833a576bee5
MD5 2599135e320b5eea02738723221be32e
BLAKE2b-256 94b6ca1afe395f7acf374dcf0bc709c369c7adbebdcca7dc887b7ff882a27f44

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