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.0a28: Improved: Handling NaN-values during discretization (now interpreted as missing)

  • 1.0a27: Improved: Accelerated structure estimation

  • 1.0a26: Improved: Progress computation. Added: Online entropy computation for large cliques

  • 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

Metadata

Release files for pxpy 1.0a28

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

Source distribution (sdist)

Source distribution for pxpy 1.0a28
File Size Uploaded Provenance Actions
pxpy-1.0a28.tar.gz 12.1 MB Without provenance Details for pxpy-1.0a28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pxpy 1.0a28
File Interpreter ABI Platform Actions
pxpy-1.0a28-py3-none-any.whl Python 3 none any Details for pxpy-1.0a28-py3-none-any.whl

Total release size: 24.3 MB

Release files / pxpy-1.0a28.tar.gz

Download URL pxpy-1.0a28.tar.gz
Size 12.1 MB
Tags Source
SHA-256 checksum
How to use checksums
2e28202a7be792718689000eb8d5aaf3c9179ef977faa5c2374c5abc96c153f2
BLAKE2b-256 checksum
How to use checksums
ceb8305e5b05fdfa9841872b03fdc181fdbda8c331a950d2e53d6ecba6500108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.3

Release files / pxpy-1.0a28-py3-none-any.whl

Download URL pxpy-1.0a28-py3-none-any.whl
Size 12.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4cd1f0859a1fb7f22ef9971da7c18a5290be0d7632e749db52f09317486be54d
BLAKE2b-256 checksum
How to use checksums
0124b956cd35c4f6bc63f0b6a60cca4af98c44a1b9a7b242d0d6c1ac31b73c76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.3

Security for pxpy 1.0a28

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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