Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Copyright (c) 2020 Nico Piatkowski

pxpy

The python library for discrete pairwise undirected graphical models.

Inference: * Loopy belief propagation (GPU support) * Junction tree * Stochastic Clenshaw-Curtis quadrature

Sampling: * Gibbs Sampling * Perturb+Map Sampling

Parameter learning: * Accelerated proximal gradient * built-in L1 / L2 regularization * Supports arbitrary custom regularization

Structure learning: * Chow-Liu trees * Soft-thresolding * High-order clique structures

Misc: * Support for spatio-temporal compressible reparametrization (STRF) * Runs on x86_64 (linux, windows), ARMv8 (linux), and MSP430 (bare metal) * Basic graph drawing via graphviz * Discretization

<https://randomfields.org>

Changelog

  • 1.0a25: Improved: Memory management.

  • 1.0a24: Improved: Structure estimation, backend. Added: Third-order structure estimation; simple graphviz output

  • 1.0a23: Improved: Structure estimation

  • 1.0a22: Improved: Discretization engine, support for external inference engine. Added: default to 32bit computation (disable via env PX_USE64BIT)

  • 1.0a21: Improved: Support for external inference engine

  • 1.0a20: Added: Support for external inference engine (access via env PX_EXTINF)

  • 1.0a19: Improved: Manual model creation

  • 1.0a18: Added: Debug mode (linux only, enable via env PX_DEBUGMODE)

  • 1.0a17: Improved: API, tests, regularization. Added: AIC and BIC computation

  • 1.0a16: Improved: Memory management, access to optimizer state in optimization hooks. Added: Support for training resumption

  • 1.0a15: Improved: API

  • 1.0a14: Improved: Memory management

  • 1.0a13: Improved: Memory management (fixed leak in conditional sampling/marginals)

  • 1.0a12: Improved: Access to vertex and pairwise marginals

  • 1.0a11: Added: Access to single variable marginals

  • 1.0a10: Improved: Library build process

  • 1.0a9: Added: Conditional sampling

  • 1.0a8: Imroved: Maximum-a-posteriori (MAP) estimation. Added: Custom graph construction

  • 1.0a7: Added: Conditional marginal inference, support for Ising/minimal statistics

  • 1.0a6: Added: Manual model creation, support for training data with missing values (represented by pxpy.MISSING_VALUE)

  • 1.0a5: Improved: Model management

  • 1.0a4: Added: Model access in regularization and proximal hooks

  • 1.0a3: Improved: GLIBC requirement, removed libgomp dependency

  • 1.0a2: Added: Python 3.5 compatibility

  • 1.0a1: Initial release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pxpy-1.0a25.tar.gz (6.2 MB view details)

Uploaded Source

Built Distribution

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

pxpy-1.0a25-py3-none-any.whl (6.3 MB view details)

Uploaded Python 3

File details

Details for the file pxpy-1.0a25.tar.gz.

File metadata

  • Download URL: pxpy-1.0a25.tar.gz
  • Upload date:
  • Size: 6.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.3

File hashes

Hashes for pxpy-1.0a25.tar.gz
Algorithm Hash digest
SHA256 81e9d31be00bde5190bc4c59151e09eb96045f3c9caf90ced6c38e07c6641e63
MD5 1037c7c21501e390e69ff179f0d9a22b
BLAKE2b-256 637fbdc58749f12dc2380db7fbefe2d8fcf62ad3a942ef020cdc178d2b436bf1

See more details on using hashes here.

File details

Details for the file pxpy-1.0a25-py3-none-any.whl.

File metadata

  • Download URL: pxpy-1.0a25-py3-none-any.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.3

File hashes

Hashes for pxpy-1.0a25-py3-none-any.whl
Algorithm Hash digest
SHA256 86432153215859b819a18e697f64ff631f88cb5e5e904fa8d7a7b73f350fd6ce
MD5 fbc4d5ac869eb096f435d2bb14549c35
BLAKE2b-256 0a19a64afbf6db247c578083e835325fe03bb2d60b53b0b2ae11145f65b9d63f

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page