APPLPy A Probability Programming Language – Python Edition
What is APPLPy?
APPLPy stands for A Probability Programming Language – Python Edition. The primary goal of APPLPy is to provide an open-source conceptual probability package capable of manipulating random variables symbolically. Although the Python implementation is a recent development, a version based on the Maple computer algebra system has been used for over a decade. The Maple implementation, called APPL, has been successfully integrated into mathematical statistics and computing courses at the College of William and Mary, the United States Military Academy and Colorado College, while also facilitating research in areas ranging from order statistics to queuing theory. The hope of APPLPy is to make the computational capabilities of APPL available to researchers and educators on an open-source platform.
The current capabilities of APPLPy include:
Conversion between PDF,CDF,SF,HF,CHF and IDF representations of random variables
Computation of expected values, with both numeric and symbolic output
Plotting distributions, including piece-wise distributions
One-to-one and many-to-one transformations of piecewise distributions
Random Variable Algebra (Sums/Differences/Products/Division)
Random sampling from distributions
Bootstrapping data sets
Bayesian inference with ad-hoc prior distributions
Computation of distributions for M/M/s queues
Analysis of Discrete Time Markov Chains
How is APPLPy Used?
Although APPLPy can be used for a variety of purposes, it is best suited to fill three special roles. First, it enables students to gain an intuitive understanding of mathematical statistics by automating tedious, calculus-intensive algorithms. As such, students can experiment with different models without having to perform difficult derivations or produce ad-hoc code. Second, it allows students to check hand derived results. This aids the learning process by providing a quick and reliable answer key. Finally, it allows researchers to explore systems whose properties would be intractable to derive by hand. As mentioned above, the Maple-based APPL software has already spawned a variety of insightful research. APPLPy has the potential to continue along this pathway. The simplicity of APPLPy’s syntax allow users to explore stochastic models with ease.
INSTALLATION:
ApplPy requires the following dependencies in order to run properly:
SymPy
Matplotlib
The latests stable release of both of these packages can be downloading from the python package index at https://pypi.python.org/pypi
The latest working edition of APPLPy is available on GitHub and the latest stable release is available from the python package index. To install the software, open the directory where APPLPy has been downloaded and type the following command
$ python setup.py install
If you have any comments or suggestions for APPLPy, feel free to contact the author at mthw.wm.robinson@gmail.com. Users with Python experience are encouraged to get in touch and contribute.
Metadata
Release files for APPLPy 0.4.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| APPLPy-0.4.12.tar.gz | 72.4 kB | Without provenance | Details for APPLPy-0.4.12.tar.gz |
Release files / APPLPy-0.4.12.tar.gz
| Download URL | APPLPy-0.4.12.tar.gz |
|---|---|
| Size | 72.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e7669c0631880e44aa145608d257e4e35d0def31b6cfcd6d02cd90b45b9f2d
|
|
BLAKE2b-256 checksum How to use checksums |
a3cf11a75d2f9c74ce613223f9a940d966e410838538310a4c1e26693f3a3cf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for APPLPy 0.4.12
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.