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.1.tar.gz (68.6 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.1-py3-none-any.whl (159.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyGMs-0.1.1.tar.gz
  • Upload date:
  • Size: 68.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.10

File hashes

Hashes for pyGMs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 97dbbb72a71db104e017137bb86a3e7d896c8147a859079c48a9540ffe15033d
MD5 7e8dd25e47d59f3a17500775d51348f7
BLAKE2b-256 989ba191c79e4359331e88592a78fe94bd8827d6402f6bf6e807b99095262270

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyGMs-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 159.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.10

File hashes

Hashes for pyGMs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97ce041bc514a9186e898b6db3562a7fa8560bbfe10190f8e721375fc590328e
MD5 c615e99f993c779ecd2bcfd213f2b676
BLAKE2b-256 4fc6d73d6d0adf9a30d55dab0856fd2fe1ec4313ad6f5ffb47ecf8305d152f20

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