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.0.2.tar.gz (66.5 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.0.2-py3-none-any.whl (156.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyGMs-0.0.2.tar.gz
  • Upload date:
  • Size: 66.5 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.0.2.tar.gz
Algorithm Hash digest
SHA256 f7b830ab2c5fee42f01612eb415853b237b63cf5299b91e79fbd084b4abfeb3c
MD5 d427f430a3a29f629359a73f2995f9ed
BLAKE2b-256 68734eb3b54bb9b9f5acbcbda7b59762692cb9343a72b7bdafdaf77452a8499c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyGMs-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 156.5 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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee8c16f8630be09e06193674f48260418ef2b85be4728ef2b6051cde76413262
MD5 f3bde8532d17e8d40c2529f691251178
BLAKE2b-256 b9336dd7a7fb95074cef7ed791d6bc0677cb5837832073e315baa53b5c840e36

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