Configuration for pyAgrum
Configuration for pyAgrum is centralized in an object pyagrum.config, which is the configuration singleton of the aGrUM C++ library (class gum::Configuration) and holds all the logic. The defaults (those of aGrUM, followed by those of pyAgrum) are embedded in the library; the file pyagrum.ini of the current directory then changes the value of some keys, but cannot create a section or a key.
Each key is declared in the defaults with a metadata line ### type :: documentation where the type is int, float, bool, str, an enumeration of the allowed values (svg|png) or a deprecation (deprecated -> section.key). The setter refuses any value that does not respect the declared type and canonicalizes boolean values (any accepted spelling such as yes/on/1 is stored as True or False) as well as enumerated values (stored with their declared casing). config.typed[section, key] gives the value converted according to the declared type, and accessing a deprecated key emits a DeprecationWarning while transparently using its replacement.
See also the tutorial notebooks/99-Tools_configForPyAgrum.
class pyagrum.pyagrumcpp._Configuration(*args)
Section titled “class pyagrum.pyagrumcpp._Configuration(*args)”The configuration of pyAgrum (pyagrum.config is the configuration singleton of the aGrUM C++ library,
pyagrum.Configuration). The configuration is a read-only structure of sections and keys: a value is
adressable using a double key: [section,key]. Section names are case-sensitive, key names are not.
The sections and keys are created by the defaults, in this order: defaults.ini of aGrUM, then
defaults.ini of pyAgrum (both embedded in the library when pyAgrum is compiled). The file
pyagrum.ini of the current directory, if any, is loaded when pyAgrum is imported: it changes the
value of some of these keys, but never creates a section or a key.
Each key is described in defaults.ini by a metadata line ### type :: documentation where type is
int, float, bool, str, an enumeration v1|v2|... or a deprecation
deprecated -> section.key. Setting a value that does not respect the declared type raises a
ValueError. Accessing a deprecated key emits a DeprecationWarning and transparently uses the
replacement key. While values are always stored as strings, config.typed[section, key] gives the
value converted according to the declared type. Boolean and enumerated values are canonicalized when set:
any accepted boolean spelling (yes/on/1/…) is stored as True or False, an
enumerated value is stored with the casing declared in defaults.ini.
See this notebook.
Examples
>>> import pyagrum>>> pyagrum.config["dynamicBN", "graphSize"] = 10>>> pyagrum.config["dynamicBN", "graphSize"]"10"__getitem__(key)
Section titled “__getitem__(key)”__setitem__(key, value)
Section titled “__setitem__(key, value)”add_hook(fn)
Section titled “add_hook(fn)”Register a function (without argument) called after each change of the configuration (see set,
reset, pop and load), after the hooks of the aGrUM library itself.
property asBool
Section titled “property asBool”property asFloat
Section titled “property asFloat”property asInt
Section titled “property asInt”describe()
Section titled “describe()”- Return type:
str
diff()
Section titled “diff()”print the diff between actual configuration and the defaults. This is what is saved in the file pyagrum.ini by the method save()
doc(section, option)
Section titled “doc(section, option)”Give the type and the one-line documentation declared for section.option in defaults.
Examples
>>> pyagrum.config.doc("notebook", "tensor_visible_digits")"int :: number of visible digits when displaying a tensor"- Parameters:
- section (str) – The section.
- option (str) – The property.
- Returns:
The metadata as
type :: documentation(deprecated -> section.key :: documentationfor a deprecated key). - Return type: str
- Raises: SyntaxError – If the section name or the property name does not exist.
get(section, option)
Section titled “get(section, option)”Give the value associated to section.option. Preferably use __getitem__ and __setitem__.
Examples
>>> pyagrum.config["dynamicBN", "graphSize"] = 10>>> pyagrum.config["dynamicBN", "graphSize"]"10"- Parameters:
- section (str) – The section.
- option (str) – The property.
- Returns: The value (as string).
- Return type: str
getTyped(section, option)
Section titled “getTyped(section, option)”Give the value associated to section.option, converted according to the type declared
in defaults: int and float are converted, bool gives a Python bool, enumerations
and str stay strings. Preferably use the typed accessor: config.typed[section, option].
Examples
>>> pyagrum.config.typed["notebook", "tensor_visible_digits"]4>>> pyagrum.config.typed["notebook", "tensor_with_colors"]True- Parameters:
- section (str) – The section.
- option (str) – The property.
- Returns: The value, converted according to the declared type.
- Return type: int | float | bool | str
grep(search)
Section titled “grep(search)”grep in the configuration any section or property matching the argument. If a section matches the argument, the whole section is displayed.
- Parameters: search (str) – The string to find.
has(section, key)
Section titled “has(section, key)”- Parameters:
- section (
str) - key (
str)
- section (
- Return type:
bool
load()
Section titled “load()”load pyagrum.ini in the current directory, and change the properties if needed.
If pyagrum.ini contains deprecated keys or invalid values, a warning is emitted.
pyagrum.ini is never modified by load(): a deprecated key is applied to its
replacement, and save() writes pyagrum.ini with the new key names.
- Raises:
- FileNotFoundError – If there is no readable pyagrum.ini in the current directory.
- SyntaxError – If pyagrum.ini contains a malformed line (in this case, nothing is changed).
Pop the last config from the stack and set it as the current configuration
push()
Section titled “push()”Push the current configuration in the stack
reset()
Section titled “reset()”back to defaults
run_hooks()
Section titled “run_hooks()”Run the hooks.
save()
Section titled “save()”Save the diff with the defaults in pyagrum.ini in the current directory
schema()
Section titled “schema()”Iterate over the whole configuration schema (in the order of the defaults).
Examples
>>> for section, option, meta, default in pyagrum.config.schema():... print(f"{section}.{option} ({meta.kind}) = {default} : {meta.doc}")- Yields: Tuple[str, str, ConfigMetadata, Optional[str]] – section, option, the metadata of the key (type, allowed values, documentation, deprecation target) and its default value (None for a deprecated key).
sections()
Section titled “sections()”- Return type:
tuple[str,...]
set(section, option, value, no_hook=False)
Section titled “set(section, option, value, no_hook=False)”set a property in a section. Preferably use __getitem__ and __setitem__.
Examples
>>> pyagrum.config["dynamicBN", "graphSize"] = 10>>> pyagrum.config["dynamicBN", "graphSize"]"10"- Parameters:
- section (str) – The section name (has to exist in defaults).
- option (str) – The option/property name (has to exist in defaults).
- value (str) – The value (will be stored as string).
- no_hook (bool , optional) – Should this call trigger the hooks?
- Raises:
- SyntaxError – If the section name or the property name does not exist.
- ValueError – If the value does not respect the type declared for this key in defaults.
toString()
Section titled “toString()”- Return type:
str
property typed
Section titled “property typed”config.typed[section, option].
- Type: Accessor giving the values converted according to their declared type
static userFileName()
Section titled “static userFileName()”- Return type:
str
Configuration reference
Section titled “Configuration reference”Section [core]
Section titled “Section [core]”| Key | Type | Default | Description |
|---|---|---|---|
maxnumberofthreads | int | -1 | default maximum number of threads used by aGrUM (-1 = adapted to the machine) |
jgumindent | int | -1 | default indentation when exporting a model to JGum (-1 = compact) |
allowmodificationwhensaving | bool | False | allow to fix syntax errors in a model instead of raising when exporting to external format (BIF, etc.) |
epsiloncoarse | float | 1e-2 | coarse numerical tolerance, in [1e-3,1e-1] (threshold of error of the checks of a model) |
epsilonstandard | float | 1e-6 | standard numerical tolerance, in [1e-8,1e-5] (sums of probabilities, comparisons of tensors, credal sets) |
epsilonfine | float | 1e-10 | fine numerical tolerance, in [1e-11,1e-9] (low-level arithmetic, comparisons of ticks, numerical stability) |
Section [approximation]
Section titled “Section [approximation]”| Key | Type | Default | Description |
|---|---|---|---|
epsilon | float | 0.05 | default threshold on the error to stop an approximation scheme |
minepsilonrate | float | 0.01 | default threshold on the rate of the error to stop an approximation scheme |
maxiter | int | 10000 | default maximum number of iterations of an approximation scheme |
maxtime | float | 1.0 | default maximum time (in seconds) of an approximation scheme (the timeout is disabled until it is set) |
burnin | int | 0 | default number of iterations before the stopping criteria are checked |
periodsize | int | 1 | default number of iterations between two checks of the stopping criteria |
verbosity | bool | False | default verbosity (history of the errors) of an approximation scheme |
Section [sampling]
Section titled “Section [sampling]”| Key | Type | Default | Description |
|---|---|---|---|
maxiter | int | 10000000 | default maximum number of iterations of the sampling inference engines (Monte Carlo, Weighted, Importance, Gibbs) |
epsilon | float | 0.01 | default threshold on the error to stop the sampling inference engines |
maxtime | float | 6000.0 | default maximum time (in seconds) of the sampling inference engines |
periodsize | int | 100 | default number of samples between two checks of the stopping criteria of the sampling inference engines |
minepsilonrate | float | 1e-5 | default threshold on the rate of the error to stop the sampling inference engines |
verbosity | bool | False | default verbosity of the sampling inference engines |
Section [gibbs]
Section titled “Section [gibbs]”| Key | Type | Default | Description |
|---|---|---|---|
epsilon | float | 0.20189651799465538 | default threshold on the error to stop the Gibbs sampling inference engine (exp(-1.6)) |
minepsilonrate | float | 0.006737946999085467 | default threshold on the rate of the error to stop the Gibbs sampling inference engine (exp(-5)) |
burnin | int | 300 | default number of samples dropped at the beginning of a Gibbs sampling |
percentdrawnsample | int | 50 | default percentage of the variables drawn between two samples of a Gibbs sampling (0 to 100) |
drawnatrandom | bool | True | default way to choose the variables drawn in a Gibbs sampling (at random or in turn) |
Section [lbp]
Section titled “Section [lbp]”| Key | Type | Default | Description |
|---|---|---|---|
maxiter | int | 100 | default maximum number of iterations of the loopy belief propagation |
epsilon | float | 1e-8 | default threshold on the error to stop the loopy belief propagation |
minepsilonrate | float | 1e-10 | default threshold on the rate of the error to stop the loopy belief propagation |
periodsize | int | 1 | default number of iterations between two checks of the stopping criteria of the loopy belief propagation |
verbosity | bool | False | default verbosity of the loopy belief propagation |
Section [loopySampling]
Section titled “Section [loopySampling]”| Key | Type | Default | Description |
|---|---|---|---|
virtuallbpsize | int | 5000 | default size of the virtual sample given by the loopy belief propagation to the hybrid sampling inference engines |
Section [gibbsKL]
Section titled “Section [gibbsKL]”| Key | Type | Default | Description |
|---|---|---|---|
maxiter | int | 10000000 | default maximum number of iterations of the Kullback-Leibler divergence computed by Gibbs sampling |
epsilon | float | 1e-10 | default threshold on the error to stop the Gibbs computation of the Kullback-Leibler divergence |
minepsilonrate | float | 1e-10 | default threshold on the rate of the error to stop the Gibbs computation of the Kullback-Leibler divergence |
periodsize | int | 200 | default number of samples between two checks of the stopping criteria of the Gibbs computation of the Kullback-Leibler divergence |
verbosity | bool | False | default verbosity of the Gibbs computation of the Kullback-Leibler divergence |
burnin | int | 2000 | default number of samples dropped at the beginning of the Gibbs computation of the Kullback-Leibler divergence |
maxtime | float | 6000.0 | default maximum time (in seconds) of the Gibbs computation of the Kullback-Leibler divergence |
percentdrawnsample | int | 10 | default percentage of the variables drawn between two samples of the Gibbs computation of the Kullback-Leibler divergence (0 to 100) |
drawnatrandom | bool | True | default way to choose the variables drawn in the Gibbs computation of the Kullback-Leibler divergence (at random or in turn) |
Section [mcKL]
Section titled “Section [mcKL]”| Key | Type | Default | Description |
|---|---|---|---|
maxiter | int | 10000000 | default maximum number of iterations of the Kullback-Leibler divergence computed by Monte Carlo sampling |
epsilon | float | 1e-10 | default threshold on the error to stop the Monte Carlo computation of the Kullback-Leibler divergence |
minepsilonrate | float | 1e-10 | default threshold on the rate of the error to stop the Monte Carlo computation of the Kullback-Leibler divergence |
periodsize | int | 200 | default number of samples between two checks of the stopping criteria of the Monte Carlo computation of the Kullback-Leibler divergence |
verbosity | bool | False | default verbosity of the Monte Carlo computation of the Kullback-Leibler divergence |
maxtime | float | 6000.0 | default maximum time (in seconds) of the Monte Carlo computation of the Kullback-Leibler divergence |
Section [learning]
Section titled “Section [learning]”| Key | Type | Default | Description |
|---|---|---|---|
bnlearnerpreferredalgo | `MIIC | PC | FCI |
alpha | float | 0.05 | default threshold on the p-value of the independence tests of the constraint-based algorithms (PC, FCI) |
priorweight | float | 1.0 | default weight of the priors (BDeu, smoothing, Dirichlet) when it is not given to the learner |
emnoise | float | 0.1 | default noise (in [0,1]) added by the EM algorithm to the initial parameters when it is not given to the learner |
tabulistsize | int | 100 | default size of the tabu list of the local search with tabu list when it is not given to the learner |
tabunbdecrease | int | 2 | default number of consecutive decreasing changes tolerated by the local search with tabu list when it is not given to the learner |
Section [tensor]
Section titled “Section [tensor]”| Key | Type | Default | Description |
|---|---|---|---|
maxrowsconsole | int | 6 | number of rows displayed at the beginning and at the end of a tensor in the console (at least 1) ; the middle rows are summarized |
columnwidthconsole | int | 9 | width of the columns of the values of a tensor in the console (at least 6) ; the values are displayed with (width - 5) decimals |
Section [notebook]
Section titled “Section [notebook]”| Key | Type | Default | Description |
|---|---|---|---|
arccolor | str | #4A4A4A | default color of the arcs and edges of a graph |
nodebgcolor | str | #404040 | default background color of the nodes |
nodefgcolor | str | adaptive | default font color of the nodes (‘adaptive’ = black or white according to the background color) |
graphsize | str | 5 | default size (in inches) of a graph (graphviz size, e.g. “5” or “12!” for exact size) |
graphrankdir | `TB | LR` | TB |
graphlayout | `dot | neato | fdp |
markovrandomfieldview | `graph | factorgraph` | factorgraph |
junctiontreegraphsize | str | 10 | size (in inches) of a junction tree (graphviz size, e.g. “10” or “12!”) |
junctiontreewithnames | bool | True | show the variable names in the cliques of a junction tree |
junctiontreeseparatorbgcolor | str | palegreen | background color of the separators of a junction tree |
junctiontreeseparatorfgcolor | str | adaptive | font color of the separators of a junction tree (‘adaptive’ = black or white according to the background color) |
junctiontreeseparatorfontsize | int | 8 | font size of the separators of a junction tree |
junctiontreecliquebgcolor | str | burlywood | background color of the cliques of a junction tree |
junctiontreecliquefgcolor | str | adaptive | font color of the cliques of a junction tree (‘adaptive’ = black or white according to the background color) |
junctiontreecliquefontsize | int | 10 | font size of the cliques of a junction tree |
junctiontreemapcliquescale | float | 0.3 | scale of the cliques in a junction tree map |
junctiontreemapsepscale | float | 0.1 | scale of the separators in a junction tree map |
junctiontreemapedgelen | float | 1 | length of the edges in a junction tree map |
junctiontreemapsize | str | 10 | size (in inches) of a junction tree map (graphviz size, e.g. “10” or “12!”) |
tensor_visible_digits | int | 4 | number of visible digits when displaying a tensor in a notebook |
tensor_with_colors | bool | True | use a background color gradient for the values in a tensor |
tensor_color_0 | str | #FF7F64 | color for the minimal value of a tensor |
tensor_color_1 | str | #7FFF64 | color for the maximal value of a tensor |
tensor_with_fraction | bool | False | display the values of a tensor as fractions when possible |
tensor_fraction_limit | int | 50 | maximal denominator for the fraction representation in a tensor |
tensor_fraction_round_error | float | 1e-6 | maximal rounding error when looking for a fraction representation |
tensor_fraction_with_latex | bool | True | use LaTeX to render the fractions in a tensor |
histogram_horizontal_visible_digits | int | 2 | number of visible digits in horizontal histograms |
histogram_vertical_visible_digits | int | 2 | number of visible digits in vertical histograms |
histogram_horizontal_threshold | int | 8 | maximal domain size for a horizontal histogram (vertical above) |
histogram_line_threshold | int | 40 | domain size above which a histogram becomes a line plot |
histogram_color | str | darkseagreen | color of the histogram bars |
histogram_edge_color | str | darkgreen | color of the edges of the histogram bars |
histogram_use_percent | bool | True | display probabilities as percentages in histograms |
histogram_discretized_visualisation | `histogram | bar` | histogram |
histogram_discretized_scale | float | 1.0 | scale for the histogram of a discretized variable |
export_pdf_margin_x | int | 50 | horizontal margin (in points) when exporting to pdf |
export_pdf_margin_y | int | 37 | vertical margin (in points) when exporting to pdf |
histogram_mode | `compact | classical` | compact |
histogram_epsilon | float | 1e-8 | probabilities below this threshold are truncated in histograms |
tensor_parent_values | `merge | revmerge | nomerge` |
figure_facecolor | str | #E0E0E0 | face color of the matplotlib figures (see matplotlib) |
flow_background_color | str | transparent | background color of an item in a flow |
flow_border_color | str | transparent | border color of an item in a flow |
flow_border_width | int | 0 | border width (in pixels) of an item in a flow |
graph_format | `svg | png` | svg |
show_inference_time | bool | True | display the inference time below an inference graph |
evidence_bgcolor | str | sandybrown | background color of a node with evidence |
evidence_fgcolor | str | black | font color of a node with evidence |
node_cmap | str | Pastel1 | matplotlib color map for the nodes |
arc_cmap | str | BuGn | matplotlib color map for the arcs |
edge_cmap | str | BuGn | matplotlib color map for the edges |
graph_inference_size | str | 8 | default size (in inches) of a graph during inference (graphviz size, e.g. “8” or “12!”) |
graphdiff_missing_style | str | dashed | style of an arc missing in the compared graph |
graphdiff_missing_color | str | red | color of an arc missing in the compared graph |
graphdiff_overflow_style | str | dashed | style of an arc absent from the reference graph |
graphdiff_overflow_color | str | purple | color of an arc absent from the reference graph |
graphdiff_reversed_style | str | solid | style of an arc reversed in the compared graph |
graphdiff_reversed_color | str | purple | color of an arc reversed in the compared graph |
graphdiff_correct_style | str | solid | style of an arc identical in both graphs |
graphdiff_correct_color | str | grey | color of an arc identical in both graphs |
Section [factorgraph]
Section titled “Section [factorgraph]”| Key | Type | Default | Description |
|---|---|---|---|
nodebgcolor | str | coral | default background color of the variable nodes |
nodefgcolor | str | adaptive | default font color of the variable nodes (‘adaptive’ = black or white according to the background color) |
factorbgcolor | str | burlywood | default background color of the factor nodes |
edgelength | float | 0.7 | length of the edges in a factor graph |
graphlayout | `dot | neato | fdp |
edge_length_inference | float | 0.9 | length of the edges in a factor graph during inference |
Section [dynamicBN]
Section titled “Section [dynamicBN]”| Key | Type | Default | Description |
|---|---|---|---|
graphsize | str | 6 | default size (in inches) of a dynamic BN (graphviz size, e.g. “6” or “12!”) |
timeslicebgcolor | str | #DDDDDD | background color of a time slice |
replicatedslicebgcolor | str | lightcyan | background color of a time slice highlighted as replicated |
atemporalbgcolor | str | lightyellow | background color of the atemporal part |
Section [influenceDiagram]
Section titled “Section [influenceDiagram]”| Key | Type | Default | Description |
|---|---|---|---|
graphsize | str | 6 | default size (in inches) of an influence diagram (graphviz size, e.g. “6” or “12!”) |
chancebgcolor | str | #808080 | default background color of the chance nodes |
chancefgcolor | str | adaptive | default font color of the chance nodes (‘adaptive’ = black or white according to the background color) |
utilitybgcolor | str | #50508A | default background color of the utility nodes |
utilityfgcolor | str | adaptive | default font color of the utility nodes (‘adaptive’ = black or white according to the background color) |
decisionbgcolor | str | #9A5050 | default background color of the decision nodes |
decisionfgcolor | str | adaptive | default font color of the decision nodes (‘adaptive’ = black or white according to the background color) |
chanceshape | str | ellipse | graphviz shape of the chance nodes |
utilityshape | str | hexagon | graphviz shape of the utility nodes |
decisionshape | str | box | graphviz shape of the decision nodes |
decisionarcstyle | str | tapered, bold, dotted | graphviz style of the arcs pointing to a decision node |
utilityarcstyle | str | dashed | graphviz style of the arcs pointing to a utility node |
id_inference_size | str | 6 | default size (in inches) of an influence diagram during inference (graphviz size, e.g. “6” or “12!”) |
utility_visible_digits | int | 2 | number of visible digits when displaying a utility |
utility_show_stdev | bool | True | show the standard deviation together with a utility |
utility_show_loss | bool | False | show the loss (negative utility) instead of the utility |
Section [credalnet]
Section titled “Section [credalnet]”| Key | Type | Default | Description |
|---|---|---|---|
nodebgcolor | str | #404040 | default background color of the nodes |
nodefgcolor | str | adaptive | default font color of the nodes (‘adaptive’ = black or white according to the background color) |
histo_max_color | str | #BBFFAA | color for the maximal value in a credal set histogram |
Section [causal]
Section titled “Section [causal]”| Key | Type | Default | Description |
|---|---|---|---|
showlatentnames | bool | False | show the names of the latent variables |
graphsize | str | 2.5 | default size (in inches) of a causal model (graphviz size, e.g. “2.5” or “12!”) |
nodebgcolor | str | #404040 | default background color of the nodes |
nodefgcolor | str | adaptive | default font color of the nodes (‘adaptive’ = black or white according to the background color) |
latentbgcolor | str | #A08080 | default background color of the latent nodes |
latentfgcolor | str | adaptive | default font color of the latent nodes (‘adaptive’ = black or white according to the background color) |
latex_do_prefix | str | \text{do}( | LaTeX command inserted before an intervention (do) in a formula |
latex_do_suffix | str | ) | LaTeX command inserted after an intervention (do) in a formula |
Section [ROC]
Section titled “Section [ROC]”| Key | Type | Default | Description |
|---|---|---|---|
draw_color | str | #008800 | color of the ROC/PR curve |
fill_color | str | #AAEEAA | color of the area under the ROC/PR curve |
Section [ctbn]
Section titled “Section [ctbn]”| Key | Type | Default | Description |
|---|---|---|---|
show_latent_names | bool | False | show the names of the latent variables |
graph_size | str | 2.5 | default size (in inches) of a CTBN (graphviz size, e.g. “2.5” or “12!”) |
node_bgcolor | str | #404040 | default background color of the nodes |
node_fgcolor | str | white | default font color of the nodes |
latent_bgcolor | str | #A08080 | default background color of the latent nodes |
latent_fgcolor | str | black | default font color of the latent nodes |
Section [bnmixture]
Section titled “Section [bnmixture]”| Key | Type | Default | Description |
|---|---|---|---|
graph_size | str | 5 | default size (in inches) of a BN mixture (graphviz size, e.g. “5” or “12!”) |
line_size | float | 1.0 | default width of the arcs |
head_size | float | 0.25 | default size of the arrow heads |
arrow_type | str | normal | graphviz type of the arrow heads |
arc_cmap | str | Greens | matplotlib color map for the arcs |
arc_color | str | #4A4A4A | default color of the arcs |
arc_style | str | solid | graphviz style of the arcs |
node_bgcolor | str | #404040 | default background color of the nodes |
node_fgcolor | str | white | default font color of the nodes |
layout | `dot | neato | fdp |
overlap | float | 0 | overlap scaling for the graphviz layout |
bar_capsize | float | 1.5 | size of the caps on the error bars |
bar_height | float | 0.8 | height of the bars in the bar plots |
boot_histo_scale | float | 2.0 | scale for the bootstrap histograms |
histo_scale | float | 1.0 | scale for the histograms |
correct_arc_style | str | solid | graphviz style of an arc present in the reference BN |
correct_arc_color | str | green | color of an arc present in the reference BN |
incorrect_arc_style | str | dashed | graphviz style of an arc absent from the reference BN |
incorrect_arc_color | str | green | color of an arc absent from the reference BN |
left_quantile | float | 0.2 | lower quantile used when displaying the distribution of parameters |
right_quantile | float | 0.8 | upper quantile used when displaying the distribution of parameters |
Deprecated keys
Section titled “Deprecated keys”| Old key | Replacement | Note |
|---|---|---|
core.default_maxnumberofthreads | core.maxnumberofthreads | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
core.default_jgumindent | core.jgumindent | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
core.allow_modification_when_saving | core.allowmodificationwhensaving | last name in aGrUM 3.2.1 (camelCase) |
notebook.arc_color | notebook.arccolor | last name in aGrUM 3.2.1 |
notebook.node_bgcolor | notebook.nodebgcolor | last name in aGrUM 3.2.1 |
notebook.node_fgcolor | notebook.nodefgcolor | last name in aGrUM 3.2.1 |
notebook.graph_size | notebook.graphsize | last name in aGrUM 3.2.1 |
notebook.graph_rankdir | notebook.graphrankdir | last name in aGrUM 3.2.1 |
notebook.graph_layout | notebook.graphlayout | last name in aGrUM 3.2.1 |
notebook.markovrandomfield_view | notebook.markovrandomfieldview | last name in aGrUM 3.2.1 |
notebook.junctiontree_graph_size | notebook.junctiontreegraphsize | last name in aGrUM 3.2.1 |
notebook.junctiontree_with_names | notebook.junctiontreewithnames | last name in aGrUM 3.2.1 |
notebook.junctiontree_separator_bgcolor | notebook.junctiontreeseparatorbgcolor | last name in aGrUM 3.2.1 |
notebook.junctiontree_separator_fgcolor | notebook.junctiontreeseparatorfgcolor | last name in aGrUM 3.2.1 |
notebook.junctiontree_separator_fontsize | notebook.junctiontreeseparatorfontsize | last name in aGrUM 3.2.1 |
notebook.junctiontree_clique_bgcolor | notebook.junctiontreecliquebgcolor | last name in aGrUM 3.2.1 |
notebook.junctiontree_clique_fgcolor | notebook.junctiontreecliquefgcolor | last name in aGrUM 3.2.1 |
notebook.junctiontree_clique_fontsize | notebook.junctiontreecliquefontsize | last name in aGrUM 3.2.1 |
notebook.junctiontree_map_cliquescale | notebook.junctiontreemapcliquescale | last name in aGrUM 3.2.1 |
notebook.junctiontree_map_sepscale | notebook.junctiontreemapsepscale | last name in aGrUM 3.2.1 |
notebook.junctiontree_map_edgelen | notebook.junctiontreemapedgelen | last name in aGrUM 3.2.1 |
notebook.junctiontree_map_size | notebook.junctiontreemapsize | last name in aGrUM 3.2.1 |
notebook.default_arc_color | notebook.arccolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
notebook.default_node_bgcolor | notebook.nodebgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
notebook.default_node_fgcolor | notebook.nodefgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
notebook.default_node_cmap | notebook.node_cmap | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
notebook.default_arc_cmap | notebook.arc_cmap | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
notebook.default_edge_cmap | notebook.edge_cmap | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
notebook.default_graph_size | notebook.graphsize | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
notebook.default_graph_inference_size | notebook.graph_inference_size | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
notebook.default_markovrandomfield_view | notebook.markovrandomfieldview | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
factorgraph.node_bgcolor | factorgraph.nodebgcolor | last name in aGrUM 3.2.1 |
factorgraph.node_fgcolor | factorgraph.nodefgcolor | last name in aGrUM 3.2.1 |
factorgraph.factor_bgcolor | factorgraph.factorbgcolor | last name in aGrUM 3.2.1 |
factorgraph.edge_length | factorgraph.edgelength | last name in aGrUM 3.2.1 |
factorgraph.graph_layout | factorgraph.graphlayout | last name in aGrUM 3.2.1 |
factorgraph.default_node_bgcolor | factorgraph.nodebgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
factorgraph.default_node_fgcolor | factorgraph.nodefgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
factorgraph.default_factor_bgcolor | factorgraph.factorbgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
dynamicBN.graph_size | dynamicBN.graphsize | last name in aGrUM 3.2.1 |
dynamicBN.default_graph_size | dynamicBN.graphsize | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.graph_size | influenceDiagram.graphsize | last name in aGrUM 3.2.1 |
influenceDiagram.chance_bgcolor | influenceDiagram.chancebgcolor | last name in aGrUM 3.2.1 |
influenceDiagram.chance_fgcolor | influenceDiagram.chancefgcolor | last name in aGrUM 3.2.1 |
influenceDiagram.utility_bgcolor | influenceDiagram.utilitybgcolor | last name in aGrUM 3.2.1 |
influenceDiagram.utility_fgcolor | influenceDiagram.utilityfgcolor | last name in aGrUM 3.2.1 |
influenceDiagram.decision_bgcolor | influenceDiagram.decisionbgcolor | last name in aGrUM 3.2.1 |
influenceDiagram.decision_fgcolor | influenceDiagram.decisionfgcolor | last name in aGrUM 3.2.1 |
influenceDiagram.chance_shape | influenceDiagram.chanceshape | last name in aGrUM 3.2.1 |
influenceDiagram.utility_shape | influenceDiagram.utilityshape | last name in aGrUM 3.2.1 |
influenceDiagram.decision_shape | influenceDiagram.decisionshape | last name in aGrUM 3.2.1 |
influenceDiagram.decision_arc_style | influenceDiagram.decisionarcstyle | last name in aGrUM 3.2.1 |
influenceDiagram.utility_arc_style | influenceDiagram.utilityarcstyle | last name in aGrUM 3.2.1 |
influenceDiagram.id_size | influenceDiagram.graphsize | last name in aGrUM 3.2.1 |
influenceDiagram.default_graph_size | influenceDiagram.graphsize | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.default_chance_bgcolor | influenceDiagram.chancebgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.default_chance_fgcolor | influenceDiagram.chancefgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.default_utility_bgcolor | influenceDiagram.utilitybgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.default_utility_fgcolor | influenceDiagram.utilityfgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.default_decision_bgcolor | influenceDiagram.decisionbgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.default_decision_fgcolor | influenceDiagram.decisionfgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.default_id_size | influenceDiagram.graphsize | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
influenceDiagram.default_id_inference_size | influenceDiagram.id_inference_size | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
credalnet.node_bgcolor | credalnet.nodebgcolor | last name in aGrUM 3.2.1 |
credalnet.node_fgcolor | credalnet.nodefgcolor | last name in aGrUM 3.2.1 |
credalnet.default_node_bgcolor | credalnet.nodebgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
credalnet.default_node_fgcolor | credalnet.nodefgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
causal.show_latent_names | causal.showlatentnames | last name in aGrUM 3.2.1 |
causal.graph_size | causal.graphsize | last name in aGrUM 3.2.1 |
causal.node_bgcolor | causal.nodebgcolor | last name in aGrUM 3.2.1 |
causal.node_fgcolor | causal.nodefgcolor | last name in aGrUM 3.2.1 |
causal.latent_bgcolor | causal.latentbgcolor | last name in aGrUM 3.2.1 |
causal.latent_fgcolor | causal.latentfgcolor | last name in aGrUM 3.2.1 |
causal.default_graph_size | causal.graphsize | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
causal.default_node_bgcolor | causal.nodebgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
causal.default_node_fgcolor | causal.nodefgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
causal.default_latent_bgcolor | causal.latentbgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
causal.default_latent_fgcolor | causal.latentfgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
ctbn.default_graph_size | ctbn.graph_size | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
ctbn.default_node_bgcolor | ctbn.node_bgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
ctbn.default_node_fgcolor | ctbn.node_fgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
ctbn.default_latent_bgcolor | ctbn.latent_bgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
ctbn.default_latent_fgcolor | ctbn.latent_fgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_graph_size | bnmixture.graph_size | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_line_size | bnmixture.line_size | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_head_size | bnmixture.head_size | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_arrow_type | bnmixture.arrow_type | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_arc_cmap | bnmixture.arc_cmap | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_arc_color | bnmixture.arc_color | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_arc_style | bnmixture.arc_style | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_node_bgcolor | bnmixture.node_bgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_node_fgcolor | bnmixture.node_fgcolor | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_layout | bnmixture.layout | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_overlap | bnmixture.overlap | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_bar_capsize | bnmixture.bar_capsize | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_bar_height | bnmixture.bar_height | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_boot_histo_scale | bnmixture.boot_histo_scale | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |
bnmixture.default_histo_scale | bnmixture.histo_scale | last name in aGrUM 3.2.1 (prefix ‘<br/>default_<br/>’ removed) |