aGrUM/pyAgrum 1.12.0 released
Posted on Wed 14 February 2024 in News
ANNOUNCE: aGrUM 1.12.0
aGrUM/pyAgrum 1.12.0 is out.
-
aGrUM
- Adding a new class
gum::MeekRules
to complete a learned PDAG to CPADG or BN. - Preventing 'infinities' in the definition of numerical discrete variable.
- Adding a new constructor for
gum::PDAG
fromgum::MixedGraph
. - Better (stricter)
operator==
betweengum::DiscreteVariable
. - Adding a new static constructor
gum::{Undi|Di}Graph::completeGraph(int n)
. - Adding
closestIndex()
andclosestLabel()
methods for all numericalgum::DiscreteVariable
. - Fixing an exception raised in inferences due to the removal of uninformative potentials containing only barren variables
- new syntax for
fastVariable
:[a:b:n]
=gum.Discretiezd
with n intervalls from a to b.
- Adding a new class
-
pyAgrum
- Pickle for graphs and graphicals models !
- Preventing 'infinities' in the definition of numerical discrete variable.
- Adding a new class
pyAgrum.MeekRules
to complete a learned PDAG to CPADG or BN. - Better (stricter)
__eq__
and__ne_
_ betweenpyAgrum.DiscreteVariable
. - Adding a new constructor for
pyAgrum.PDAG
frompyAgrum.MixedGraph
. - Adding a new
expert
discretization method topyAgrum.skbn.BNDiscretizer
(thanks to Ahmed Mabrouk). pyAgrum.skbn.BNDiscretizer
can now take csv filename for input.- Adding
pyAgrum.fastGraph
to createpyAgrum.{Di|Undi|Mixed}Graph
. - Dataframes can now come from
pandas
orpolars
(thanks to Mads Linksou). - Adding a
compact
mode for histogram for discretized variable controlled byhistogram_mode
histogram_epsilon
ingum.config
(thanks to Gaspard Ducamp). - Adding a new static constructor
pyAgrum.{Undi|Di}Graph::completeGraph(int n)
. - Adding subscripting to graphical models :
g[name]
gives now a direct access to thepyAgrum.DiscreteVariable
by its name. - New syntax for
pyAgrum.fast{Var|BN|ID|MRF}
:[a:b:n]
=pyAgrum.DiscretizedVariable
with n intervalls from a to b. - Adding
closestIndex()
andclosestLabel()
methods for all numericalpyAgrum.DiscreteVariable
. - Adding
g.adjacencyMatrix()
for all graphs and graphical models (thanks to Kenneth Lee). - Adding new
bgcolor
parameter (None by default) forshowROC/PR
inpyAgrum.lib.bn2roc
andpyAgrum.skbn
(thanks to Clara Charon). - Adding optional
dialect
parameter topyAgrum.lib.bn2roc.computeScores
. - new syntax for
fastVariable
:[a:b:n]
=pyAgrum.Discretiezd
with n intervalls from a to b.