Network formats

The networks in the repository come in several different formats. Converters and utilities for these formats will soon be available.
Name Suffix Description
LibB .net
Bayesian Interchange Format .bif The proposed interchange format. I am following Fabio Cozman's version of the format, which is similar to the original proposal.
MSBN .dsc Microsoft's BN tool format. See the MSBN page.
Hugin .hugin File format used by the HUGIN BN tool.
Ideal .ideal A format that is based on the one used in the IDEAL toolkit.
Ergo file format .ergo File format used by the ERGO BN tool.


Viewing Utilities

To make these work, copy both the utility and the associated utilities in the Technical comments column to the desired directory. Some scripts also need an update of the new path of associated utilities.

Utility Usage Description Network Format Technical comments
view-network.sh view-network Displays a ps view of a network LibB set path of net-to-dot.perl and dot
view-net-pdag.sh view-net-pdag.sh Displays a ps view of the P-Dag representing the equivalence class of a network. LibB set path of BN2PDAG, PDAG2dot.awk and dot


Conversion Programs

Program Usage Description Network Format Technical comments
BN2PDAG BN2PDAG Converts and network into P-Dag format LibB Linux executable
DSC2BN DSC2BN <.dsc net> <.net net> Converts a .dsc format network into .net network LibB Linux executable. Might not work with special function nodes (noisy-or etc.)