Upgrading from version 2¶
In version 3, an analysis is described in two files instead of three, and layers no longer have special roles. To convert a version 2 analysis, run:
The command writes settings.yml and variables.xlsx to a new folder migrated, or to the
folder given with --out FOLDER. Check the result with layerbn check migrated --figure
before you run it.
Changes¶
| Version 2 | Version 3 |
|---|---|
spec.yml + config.yml |
settings.yml + variables.xlsx |
Layer roles outcome and selection |
Removed. Mark variables of interest as target, and use arcs_within: no and rules where needed. |
| Arcs from outcomes to dropout, added after learning | Converted by migrate to require and forbid rules, and included in the learning. |
variants, n_bins, max_indegree, ... |
networks, bins, max_parents, ... |
| Conditional mutual information | Removed. The relation to the target is reported instead. |
| Graphviz figures | matplotlib figures. Graphviz is no longer required. |
Results can differ
Required arcs are now part of the learning, and the versions of pyAgrum and the bins can differ from those used before. Results of an analysis that was already reported may change when it is run again. See the changelog.