notebooks and ipython

   -- Posted on Mon 08 May 2017 in pyAgrum

pyagrum.lib.notebook offers some helpers and graphical representation of internal objets of agrum : Potential, Graph, Bayesian network, inference, etc. See pyAgrum doc for more details.

Notebook

From aGrUM 0.11.2, pyagrum.lib.ipython proposes an equivalent API (a subset of the notebook API) for ipython graphical console. For instance …


Continue reading

Types of variables

   -- Posted on Mon 17 April 2017 in pyAgrum

There are 3 types of discrete random variables in aGrUM/pyAgrum : LabelizedVariable, DiscretizedVariable and RangeVariable. The 3 types are mainly provided in order to ease the modelisation. Derived from DiscreteVariable, they share a common API

{% include_code types-of-variables_common.pytest lang:python lines:5-100 %}

They essentially differ by the means to create …


Continue reading