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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyGMs-0.3.2-py3-none-any.whl (139.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyGMs-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 139.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for pyGMs-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 632eb47ec0cdd6873895739091dd9db1212f2e4f4a04641c04cd0ba807c97f57
MD5 0656676d1e094fa7ce53e0406f956714
BLAKE2b-256 31a097756d80bba2c08835063d450dc4585dd7641a2d4f3237f32795365ebff5

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