Lea is a Python module aiming at working with discrete probability distributions in an intuitive way.
It allows you modeling a broad range of random phenomena: 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 and Probabilistic Programming (PP) features; these include conditional probabilities, joint probability distributions, Bayesian networks, Markov chains and symbolic computation.
All probability calculations in Lea are performed by a new exact algorithm, the Statues algorithm, which is based on variable binding and recursive generators. For problems intractable through exact methods, Lea provides on-demand approximate algorithms, namely MC rejection sampling and likelihood weighting.
Beside the above-cited functions, Lea provides some machine learning functions, including Maximum-Likelihood and Expectation-Maximization algorithms.
Lea can be used for AI, education (probability theory & PP), generation of random samples, etc.
Lea 4 requires Python 3.8+. For earlier Python versions (2.6+), Lea 3 can be used.
Please visit Lea project's wiki page for a comprehensive documentation.
Raw data
{
"_id": null,
"home_page": "",
"name": "lea",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "probability,discrete,distribution,probabilistic programming",
"author": "",
"author_email": "Pierre Denis <pie.denis@skynet.be>",
"download_url": "https://files.pythonhosted.org/packages/7a/89/0d57e1c633c217eff816b7e5f4fd3571d073374e1df453cbc9907dd4b3f3/lea-4.0.1.tar.gz",
"platform": null,
"description": "Lea is a Python module aiming at working with discrete probability distributions in an intuitive way.\r\n\r\nIt allows you modeling a broad range of random phenomena: 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.\r\n\r\nLea also provides advanced functions and Probabilistic Programming (PP) features; these include conditional probabilities, joint probability distributions, Bayesian networks, Markov chains and symbolic computation.\r\n\r\nAll probability calculations in Lea are performed by a new exact algorithm, the Statues algorithm, which is based on variable binding and recursive generators. For problems intractable through exact methods, Lea provides on-demand approximate algorithms, namely MC rejection sampling and likelihood weighting.\r\n\r\nBeside the above-cited functions, Lea provides some machine learning functions, including Maximum-Likelihood and Expectation-Maximization algorithms.\r\n\r\nLea can be used for AI, education (probability theory & PP), generation of random samples, etc.\r\n\r\nLea 4 requires Python 3.8+. For earlier Python versions (2.6+), Lea 3 can be used.\r\n\r\nPlease visit Lea project's wiki page for a comprehensive documentation.\r\n",
"bugtrack_url": null,
"license": "LGPL",
"summary": "Discrete probability distributions in Python",
"version": "4.0.1",
"project_urls": {
"Homepage": "http://bitbucket.org/piedenis/lea"
},
"split_keywords": [
"probability",
"discrete",
"distribution",
"probabilistic programming"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7a890d57e1c633c217eff816b7e5f4fd3571d073374e1df453cbc9907dd4b3f3",
"md5": "513c9e6888e1044057004e7522d18942",
"sha256": "0ebd945cea907d3c384007e414f3e505f79e315bac424cdaffe7e5bf507997d9"
},
"downloads": -1,
"filename": "lea-4.0.1.tar.gz",
"has_sig": false,
"md5_digest": "513c9e6888e1044057004e7522d18942",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 93319,
"upload_time": "2024-02-17T15:34:20",
"upload_time_iso_8601": "2024-02-17T15:34:20.364246Z",
"url": "https://files.pythonhosted.org/packages/7a/89/0d57e1c633c217eff816b7e5f4fd3571d073374e1df453cbc9907dd4b3f3/lea-4.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-17 15:34:20",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "piedenis",
"bitbucket_project": "lea",
"lcname": "lea"
}