Skip to main content

A home for new additions to PyMC, which may include unusual probability distribitions, advanced model fitting algorithms, or any code that may be inappropriate to include in the pymc repository, but may want to be made available to users.

Project description

Welcome to pymc-experimental

Contribute with Gitpod Codecov Badge

As PyMC continues to mature and expand its functionality to accommodate more domains of application, we increasingly see cutting-edge methodologies, highly specialized statistical distributions, and complex models appear. While this adds to the functionality and relevance of the project, it can also introduce instability and impose a burden on testing and quality control. To reduce the burden on the main pymc repository, this pymc-experimental repository can become the aggregator and testing ground for new additions to PyMC. This may include unusual probability distributions, advanced model fitting algorithms, innovative yet not fully tested methods or any code that may be inappropriate to include in the pymc repository, but may want to be made available to users.

The pymc-experimental repository can be understood as the first step in the PyMC development pipeline, where all novel code is introduced until it is obvious that it belongs in the main repository. We hope that this organization improves the stability and streamlines the testing overhead of the pymc repository, while allowing users and developers to test and evaluate cutting-edge methods and not yet fully mature features.

pymc-experimental would be designed to mirror the namespaces in pymc to make usage and migration as easy as possible. For example, a ParabolicFractal distribution could be used analogously to those in pymc:

import pymc as pm
import pymc_experimental as pmx

with pm.Model():

    alpha = pmx.ParabolicFractal('alpha', b=1, c=1)

    ...

Questions

What belongs in pymc-experimental?

  • newly-implemented statistical methods, for example step methods or model construction helpers
  • distributions that are tricky to sample from or test
  • infrequently-used fitting methods or distributions
  • any code that requires additional optimization before it can be used in practice

What does not belong in pymc-experimental?

  • Case studies
  • Implementations that cannot be applied generically, for example because they are tied to variables from a toy example

Should there be more than one add-on repository?

Since there is a lot of code that we may not want in the main repository, does it make sense to have more than one additional repository? For example, pymc-experimental may just include methods that are not fully developed, tested and trusted, while code that is known to work well and has adequate test coverage, but is still too specialized to become part of pymc could reside in a pymc-extras (or similar) repository.

Unanswered questions & ToDos

This project is still young and many things have not been answered or implemented. Please get involved!

  • What are guidelines for organizing submodules?
    • Proposal: No default imports of WIP/unstable submodules. By importing manually we can avoid breaking the package if a submodule breaks, for example because of an updated dependency.

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

pymc-experimental-0.0.18.tar.gz (165.8 kB view details)

Uploaded Source

Built Distribution

pymc_experimental-0.0.18-py3-none-any.whl (204.2 kB view details)

Uploaded Python 3

File details

Details for the file pymc-experimental-0.0.18.tar.gz.

File metadata

  • Download URL: pymc-experimental-0.0.18.tar.gz
  • Upload date:
  • Size: 165.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pymc-experimental-0.0.18.tar.gz
Algorithm Hash digest
SHA256 b6dccd77be0a56d178a17e57d0cfafd0c6227ce8b55551e087106be663130f55
MD5 00d85d4f40b59b74ca21d38a31792c59
BLAKE2b-256 8675bcfafc0d9ad37fb7c9b0fd3c38c8f066d0add28f3734403e36315a597971

See more details on using hashes here.

File details

Details for the file pymc_experimental-0.0.18-py3-none-any.whl.

File metadata

File hashes

Hashes for pymc_experimental-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 c502df3a88e73f47ed19edd88e7bc6baf8e30d2edc4d6276ad095174776a9671
MD5 33f51e8b99c075b7c0eaabd7fca8a97a
BLAKE2b-256 d96219c54c438fbf829962c1d830f26bc6427d98950e5724ce39956c1502795a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page