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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pymc_experimental-0.1.2.tar.gz
.
File metadata
- Download URL: pymc_experimental-0.1.2.tar.gz
- Upload date:
- Size: 170.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603c968ab285db42c46bb9ffacc25b34839f0f4bb0d67f7c2ad6d7059e93439e |
|
MD5 | d1c89f972d37c2a82ef1c03a3915b99d |
|
BLAKE2b-256 | 7b1e559e34331ff955a77df0998cd073d4124bc851e34fc2a12e6b7f7bc2f79a |
File details
Details for the file pymc_experimental-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pymc_experimental-0.1.2-py3-none-any.whl
- Upload date:
- Size: 209.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b922925626d5c9ae41de1852b1ae38e61d7797bcc03df36b71668033998edc06 |
|
MD5 | 46e5c39af9aaa33c7675ddde1c1e3bed |
|
BLAKE2b-256 | 0c7f80f604409846b51ff0237fc794e4e2dbed7514da41a5650334a4db0ca0a9 |