[aGrUM] typos and changelog

parent b8b236f8
# aGrUM Changelog
## Changelog for 0.16.1
* aGrUM
* improving the syntax for BN specification using `gum::fastPrototype`
* improve several CMakeFiles.txt and doxygen documentation
* pyAgrum
* `pyAgrum.config` object for customization (see notebook 08-configForPyAgrum)
* improving the syntax for BN specification using `pyAgrum.fastBN`
* improving pyAgrum's documentation
* add `pyAgrum.causal.counterfactual` and `pyAgrum.causal.counterfactualModel` (see notebook 55-Causality_Counterfactual)
* improve plots for histograms (particularly : now svg image by default)
* add `pyAgrum.Potential.fullWithFunction()`
* add `pyAgrum.{any graph-like}.connectedComponents()`
* add `pyAgrum.BayesNet.parents()` and `pyAgrum.BayesNet.children()` with the name of node.
* `pyAgrum.MarkovBlanket(bn,var,level)` build now a level-th order Markov Blanket (by default level=1)
* add access to constants `pyAgrum.VarType_{Discretized|Labelized|Range}` when testing `pyAgrmu.{any discrete variable}.varType()`
## Changelog for 0.16.0
* aGrUM
......@@ -11,7 +30,7 @@
* pyAgrum
* improvements in `pyAgrum.lib.causality` (direct access to backdoor and frontdoor, typos in doCalculus, etc.)
* `pyAgrum.lib.notebook`'s visualisations of graph can be adapted for dark or light themes (in jupyterlab for instance) with `forDarkTheme()`and `forLightTheme()`
* `gum.lib.notebook.{show|get}Inference()` can now have colored arcs (see 06-colouringBNs.ipynb in the notebooks)
* `pyAgrum.lib.notebook.{show|get}Inference()` can now have colored arcs (see 06-colouringBNs.ipynb in the notebooks)
* improvements on the documentation framework (w.r.t. readthdocs)
* bug fixed for variables order in the `pyAgrum.Potential` generated by `pyAgrum.BayesNet.reverseArc()`
* new `pyAgrum.DiGraph.hasDirectedCycle`
......@@ -38,7 +57,7 @@
* pyAgrum
* update path for new notebooks location for CI and documentation
* nightly build with pip : use now `pip install pyAgrum-nightly`
* API change in `gum.lib.dynamicBN` : `plotFollowUnrolled(lovars, dbn, T, evs)`
* API change in `pyAgrum.lib.dynamicBN` : `plotFollowUnrolled(lovars, dbn, T, evs)`
* add forgotten `addPossibleEdge` constraint for `LocalSearchWithTabuList` learning algorithm in `BNLearner`.
* bug fix in exact inference leading to an erroneous exception.
* internal
......@@ -57,7 +76,7 @@
* bug fix with openMP in `BNLearner::setDatabaseWeight`
* new `BNLearner.recordWeight()` and `BNLearner.databaseWeight()`
* new `BNLearner.setRecordWeight()`
* bug fix and minor API changes in `gum.causality`
* bug fix and minor API changes in `pyAgrum.causality`
## Changelog for 0.14.3
......@@ -103,7 +122,7 @@
* add `KL[...]::jsd` (Jensen-Shannon divergence)
* renaming `gum::[...]]KL` classes into `gum::[...]distance` because they provide access to KL but also to Hellinger, Bhattacharya distances and Jensen-Shanon divergence.
* pyAgrum
* `gum.causality` (do-calculus and causal identification !)
* `pyAgrum.causality` (do-calculus and causal identification !)
* `JunctionTreeGenerator` (formerly `JTGenerator`) can now expose the eliminationOrder and can drive the triangulation with a partial order of the nodes.
* Access to scores from BNLearner : `BNLearner::Chi2` and `BNLearner::logLikelihood`
* bug fix in `pyAgrum.lib.notebook`
......
......@@ -26,6 +26,7 @@ from .pyAgrum import InfluenceDiagram
from .pyAgrum import VariableElimination
from .pyAgrum import BNDatabaseGenerator
from .pyAgrum import PythonDatabaseGeneratorListener
from .pyAgrum import InvalidArgument
def about():
"""
......@@ -102,7 +103,7 @@ def loadBN(filename,listeners=None,verbose=False,**opts):
elif extension=="UAI":
warns=bn.loadUAI(filename,listeners)
else:
raise Exception("extension "+filename.split('.')[-1]+" unknown. Please use among "+availableBNExts())
raise InvalidArgument("extension "+filename.split('.')[-1]+" unknown. Please use among "+availableBNExts())
if verbose:
print(warns)
......@@ -131,7 +132,7 @@ def saveBN(bn,filename):
elif extension=="O3PRM":
bn.saveO3PRM(filename)
else:
raise gum.InvalidArgument("[pyAgrum] extension "+filename.split('.')[-1]+" unknown. Please use "+availableWriteBNExts())
raise InvalidArgument("[pyAgrum] extension "+filename.split('.')[-1]+" unknown. Please use among "+availableBNExts())
......@@ -145,7 +146,7 @@ def loadID(filename):
extension=filename.split('.')[-1].upper()
if extension!="BIFXML":
raise Exception("extension "+extension+" unknown. Please use bifxml.")
raise InvalidArgument("extension "+extension+" unknown. Please use bifxml.")
diag=InfluenceDiagram()
res=diag.loadBIFXML(filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment