Skip to main content

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/')

Release files for pygms 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygms 0.4.1
File Size Uploaded
pygms-0.4.1.tar.gz 151.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygms 0.4.1
File Interpreter ABI Platform
pygms-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 459.7 kB

Release files / pygms-0.4.1.tar.gz

Download URL pygms-0.4.1.tar.gz
Size 151.7 kB
Tags Source
SHA-256 checksum
How to use checksums
496d2ad56ae011dea737baf5a9481e6d0cfc9a579b4981348fedba6eabba6779
BLAKE2b-256 checksum
How to use checksums
183e0fc7f1c46532a4750ecdf7bdc9981ba62e84f92dd11a148fb4f499982046
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / pygms-0.4.1-py3-none-any.whl

Download URL pygms-0.4.1-py3-none-any.whl
Size 308.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdd32d8a6da6de736ec8b2922f56922f1aa6199a93c748de0d21e2fdce7eefd3
BLAKE2b-256 checksum
How to use checksums
47298c9314f55ca28cb8d72246e44eb4913b339751b3adeca12550a46acc85a8
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page