Lea is a Python package aiming at working with discrete probability distributions in an intuitive way. It allows you to model a broad range of random phenomena, like dice throwing, coin tossing, gambling, weather, finance, etc. More generally, Lea may be used for any finite set of discrete values having known probability: numbers, booleans, date/times, symbols, … Each probability distribution is modeled as a plain object, which can be named, displayed, queried or processed to produce new probability distributions.
Lea also provides advanced functions that target Probabilistic Programming (PP); these include conditional probabilities, Bayes inference and Markov chains. To ease interactive calculations, an optional PP language (PPL), called “Leapp”, is included in the package; it extends Python syntax with few constructs to define and manipulate probabilistic models in an extremely concise way.
To install this beta version of Lea, type the following command:
pip install lea==2.3.4
Please go on project home page below for a comprehensive documentation.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file lea-2.3.4.tar.gz.
File metadata
- Download URL: lea-2.3.4.tar.gz
- Upload date:
- Size: 64.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55bff09adf8e8e09cfc5671a6bc84ccda9e494cc011cb7c43631e128eec15d07
|
|
| MD5 |
5306832e47494be99adc903fe26fa8ac
|
|
| BLAKE2b-256 |
5634e6c70b6a9a8983b7bf2a9d4942e0f7ba7e593630330c4a8d7ab1709e9e32
|