Bayesian Network Repository

Several reference Bayesian networks are commonly used in literature as benchmarks. They are available in different formats from several sources, the most famous one being the Bayesian network repository hosted at the Hebrew University of Jerusalem. Others are shipped as examples of various Bayesian network-related software like Hugin or described in reference books such as Korb & Nicholson's “Bayesian Artificial Intelligence” or Koller & Friedman's “Probabilistic Graphical Models”.

Even more networks are available from various papers that used Bayesian networks to analyze data from various domains. This is especially true for Gaussian networks and conditional linear Gaussian networks, since the original Bayesian network repository included only discrete Bayesian networks.

Here I collected all the networks that I produced in my work, that I used for various simulations and that I used to testing the implementations of read.bif(), read.dsc() and read.net() in bnlearn. All discrete networks are available in the BIF, DSC and NET formats and have been quality-checked and fixed as needed (i.e. all conditional probability distributions sum to one, no dummy nodes with a single level, no dangling dependencies on non-existent nodes, etc.). R objects with the bn.fit objects for all networks are provided both as RDA and RDS files. RDA files can be loaded with e.g. load("asia.rda"), which creates an object called bn in the current scope. RDS files can be loaded with e.g. asia = readRDS("asia.rda"), which returns the network and assigns it.

Discrete Bayesian Networks

Small Networks (<20 nodes)
Name Nodes Arcs Parameters
ASIA8818
CANCER5410
EARTHQUAKE5410
SACHS1117178
SURVEY6621
Medium Networks (20–50 nodes)
Name Nodes Arcs Parameters
ALARM3746509
BARLEY4884114005
CHILD2025230
INSURANCE27521008
MILDEW3546540150
WATER326610083
Large Networks (50–100 nodes)
Name Nodes Arcs Parameters
HAILFINDER56662656
HEPAR2701231453
WIN95PTS76112574
Very Large Networks (100–1000 nodes)
Name Nodes Arcs Parameters
ANDES2233381157
DIABETES413602429409
LINK724112514211
MUNIN (subnetwork #1)18627315622
PATHFINDER10919572079
PIGS4415925618
Massive Networks (>1000 nodes)
Name Nodes Arcs Parameters
MUNIN (full network)1041139780592
MUNIN (subnetwork #2)1003124469431
MUNIN (subnetwork #3)1041130671059
MUNIN (subnetwork #4)1038138880352

Gaussian Bayesian Networks

Medium Networks (20–50 nodes)
Name Nodes Arcs Parameters
ECOLI704670162
MAGIC-NIAB4466154
Large Networks (50–100 nodes)
Name Nodes Arcs Parameters
MAGIC-IRRI64102230
Very Large Networks (101–1000 nodes)
Name Nodes Arcs Parameters
ARTH150107150364

Conditional Linear Gaussian Bayesian Networks

Small Networks (<20 nodes)
Name Nodes Arcs Parameters
HEALTHCARE7942
SANGIOVESE1555259
Medium Networks (20–50 nodes)
Name Nodes Arcs Parameters
MEHRA2471324423
Last updated on Tue Nov 29 13:14:40 2022 with bnlearn 4.9-20221107 and R version 4.2.2 Patched (2022-11-10 r83330).