Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2475 > unrolled thread

ANN: Lea 2.3 released

Started by"Pierre Denis" <pie.denis@skynet.be>
First post2017-05-01 22:27 +0200
Last post2017-05-01 22:27 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  ANN: Lea 2.3 released "Pierre Denis" <pie.denis@skynet.be> - 2017-05-01 22:27 +0200

#2475 — ANN: Lea 2.3 released

From"Pierre Denis" <pie.denis@skynet.be>
Date2017-05-01 22:27 +0200
SubjectANN: Lea 2.3 released
Message-ID<mailman.534.1493712499.2951.python-announce-list@python.org>
Lea 2.3 is now released!
---> http://pypi.python.org/pypi/lea/2.3.4

What is Lea?
------------
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 phenomenons, like dice throwing, coin tossing, gambling, finance,
weather, etc. It offers high-level modeling features for probabilistic
programming and Bayesian inference. Lea has several original features: the
storage of probabilities as integer weights, an inference algorithm that
produces *exact* results and a strong emphasis on ease-of-use. Lea is
lightweight, open-source (LGPL) and pure Python, with support of versions 2
and 3). See project page below for installation, tutorials, examples, etc.

What's new in Lea 2.3?
----------------------
Compared to latest version (2.2), few things, although important, have been
added.

* A new method, 'switch', allows you to make efficient Bayesian networks.
For variables having many dependences, there is a dramatic speed improvement
regarding the 'buildCPT' method available so far. The new method is fully
documented in the wiki page dedicated to Bayesian inference, which has been
updated in depth: http://bitbucket.org/piedenis/lea/wiki/LeaPyTutorial2.

* A new method, 'internal', allows you to see what's inside any Lea instance
(should you be curious of that).

* Bugs on some secondary methods have been fixed.

* Last but not least, for those of you interested in information theory, two
new methods have been added to calculate joint entropy and conditional
entropy (aka equivocation):
http://bitbucket.org/piedenis/lea/wiki/LeaPyTutorial1#markdown-header-mutual
-information-joint-and-conditional-entropy

What's *in* Lea?
----------------
Lea uses an original probabilistic inference algorithm called the *Statues
algorithm*. This relies on the generator construct, a special case of
coroutine, embodied in Python with the 'yield' statement. Should you be
interested in this topic:
- you could have a look at the MicroLea project, which implements no more
than the core Statues algorithm (http://bitbucket.org/piedenis/microlea);
- be informed that I've written a paper (draft/unpublished) that describes
this algorithm in details; if you required it to me, I can provide you this
paper; BTW, I would be glad to receive your feedbacks/advices for a
potential submission.

Lea project page
----------------
http://bitbucket.org/piedenis/lea

Documentation
-------------
http://bitbucket.org/piedenis/lea/wiki/Home

Download Lea (PyPI)
-------------------
http://pypi.python.org/pypi/lea/2.3.4

With the hope that Lea can make the World less uncertain,

Pierre Denis

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web