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.4.0.tar.gz (126.0 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.4.0-py3-none-any.whl (162.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygms-0.4.0.tar.gz
  • Upload date:
  • Size: 126.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pygms-0.4.0.tar.gz
Algorithm Hash digest
SHA256 de3837a3effd76bfbd1e64be3f456a471efef7344cabc8cecacd7725a90db274
MD5 9ca9df0036227d260948c01f8ff2fc5c
BLAKE2b-256 15fe27c066e9bfde4eaaeb1b5a0333abd574c820c29b9a09cffba566e2fefaac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygms-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 162.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pygms-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a93d8f8df979bc0b207dedfaab14c5552b374ba7d724ad777978f65a8276776a
MD5 86f9fed7bbb845c3b38e3bed31209a96
BLAKE2b-256 11cb4f647358fab2f428bc9a6ca8d32de7f82c866ec51a45ed69b66e4e46acfe

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