Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23561525We provide 100 samples, each containing 5000 instances, of every discrete Bayesian Network (202 in total) in version 0.0.6 of bnRep, a repository of Bayesian networks collected from the academic literature. The Gaussian and hybrid networks of bnRep are not included. The bnRep summary table lists two networks named asia, but the package ships only one, the 8-node network of Lauritzen and Spiegelhalter (1988). The 55 networks with more than 20 nodes have a zip file each (bnrep_<network>.zip), holding the 100 samples (bnrep_<network>.<i>.csv, i = 0, ..., 99) and the network itself in BIF format (bnrep_<network>.bif), whose structure and CPTs are the gold standard the samples were drawn from. The 147 networks with at most 20 nodes are grouped by size into four zip files (bnrep_small_01-05_nodes.zip, bnrep_small_06-10_nodes.zip, bnrep_small_11-15_nodes.zip and bnrep_small_16-20_nodes.zip), with the same files in one folder per network. Every name carries the prefix bnrep_ because some clash with bnlearn's repository: bnRep's earthquake has 40 nodes, whereas bnlearn's has 5. Networks with more than 20 nodes NETWORK AREA #NODES #EDGES #PARAMETERS MAX. PARENTS MEAN DEGREE agropastoral4 Social Sciences 21 14 78 1 1.33 humanitarian Social Sciences 21 20 122 1 1.90 project Environmental Science 21 21 52 3 2.00 airegulation1 Business 22 42 1241 4 3.82 corrosion Engineering 22 24 242 4 2.18 flood Agricultural Sciences 22 42 1828 4 3.82 polymorphic Engineering 22 21 2248 6 1.91 case Law 23 35 109 4 3.04 disputed4 Law 23 29 80 3 2.52 electricvehicle Engineering 23 22 79 4 1.91 firerisk Engineering 23 26 57 3 2.26 charleston Environmental Science 24 35 1272 4 2.92 dustexplosion Engineering 26 32 142 3 2.46 projectmanagement Business 26 35 100 4 2.69 student1 Social Sciences 26 27 192 2 2.08 student2 Social Sciences 26 23 179 2 1.77 disputed3 Law 27 34 96 3 2.52 realestate1 Social Sciences 27 77 2818 5 5.70 realestate2 Social Sciences 27 81 6199 5 6.00 realestate3 Social Sciences 27 69 2588 4 5.11 BOPfailure3 Engineering 28 27 92 5 1.93 GDIpathway1 Genetics 28 31 128 6 2.21 GDIpathway2 Genetics 28 31 128 6 2.21 inverters Engineering 29 33 109 4 2.28 BOPfailure1 Engineering 30 29 132 5 1.93 estuary Environmental Science 30 44 86202 7 2.93 oxygen Engineering 31 32 93 4 2.06 yangtze Engineering 31 54 397 5 3.48 rainstorm Earth Sciences 34 33 96 3 1.94 grounding Engineering 36 45 207 6 2.50 resilience Environmental Science 36 52 521 6 2.89 shipping Engineering 36 35 114 4 1.94 urinary Medicine 36 109 2771 6 6.06 kosterhavet Earth Sciences 38 63 887 4 3.32 aerialvehicles Social Sciences 39 41 255 6 2.10 earthquake Engineering 40 77 44502 5 3.85 gasifier Chemical Engineering 40 39 159 5 1.95 softwarelogs2 Computer Science 40 67 32119 2 3.35 oildepot Engineering 41 40 137 5 1.95 pilot Engineering 42 41 134 4 1.95 lithium Energy 45 44 199 5 1.96 arcticwaters Engineering 46 59 357 4 2.57 BOPfailure2 Engineering 46 45 350 7 1.96 nanomaterials2 Pharmacology 46 45 366 1 1.96 poultry Genetics 47 41 100 3 1.74 blacksea Engineering 48 87 252 4 3.62 nanomaterials1 Pharmacology 49 48 416 1 1.96 propellant Engineering 49 48 8345 13 1.96 dragline Engineering 51 50 876 9 1.96 orbital Earth Sciences 60 59 271 1 1.97 pneumonia Medicine 62 171 1589 7 5.52 forest Environmental Science 80 121 2240 4 3.02 onlinerisk Engineering 84 109 622 5 2.60 cng Earth Sciences 86 85 2404 11 1.98 windturbine Engineering 122 123 520 6 2.02 Networks with at most 20 nodes NETWORK AREA #NODES #EDGES #PARAMETERS MAX. PARENTS MEAN DEGREE ZIP burglar Psychology 3 2 11 1 1.33 bnrep_small_01-05_nodes.zip concrete3 Chemical Engineering 3 2 17 1 1.33 bnrep_small_01-05_nodes.zip concrete5 Chemical Engineering 3 2 17 1 1.33 bnrep_small_01-05_nodes.zip concrete6 Chemical Engineering 3 2 13 1 1.33 bnrep_small_01-05_nodes.zip corticosteroid Medicine 3 3 7 2 2.00 bnrep_small_01-05_nodes.zip medicaltest Medicine 3 2 6 2 1.33 bnrep_small_01-05_nodes.zip vaccine Medicine 3 3 11 2 2.00 bnrep_small_01-05_nodes.zip adversarialbehavior Computer Science 4 4 9 2 2.00 bnrep_small_01-05_nodes.zip algorithms3 Computer Science 4 3 8 2 1.50 bnrep_small_01-05_nodes.zip algorithms4 Computer Science 4 4 9 2 2.00 bnrep_small_01-05_nodes.zip bank Business 4 5 19 2 2.50 bnrep_small_01-05_nodes.zip chds Medicine 4 3 10 1 1.50 bnrep_small_01-05_nodes.zip conasense Computer Science 4 6 107 3 3.00 bnrep_small_01-05_nodes.zip concrete1 Chemical Engineering 4 4 46 2 2.00 bnrep_small_01-05_nodes.zip concrete2 Chemical Engineering 4 4 26 2 2.00 bnrep_small_01-05_nodes.zip concrete4 Chemical Engineering 4 3 16 1 1.50 bnrep_small_01-05_nodes.zip fluids1 Law 4 4 72 2 2.00 bnrep_small_01-05_nodes.zip hydraulicsystem Engineering 4 3 11 3 1.50 bnrep_small_01-05_nodes.zip navigation Engineering 4 3 28 2 1.50 bnrep_small_01-05_nodes.zip simulation Engineering 4 3 11 3 1.50 bnrep_small_01-05_nodes.zip theft1 Law 4 3 7 1 1.50 bnrep_small_01-05_nodes.zip titanic Social Sciences 4 5 23 2 2.50 bnrep_small_01-05_nodes.zip agropastoral5 Social Sciences 5 4 26 1 1.60 bnrep_small_01-05_nodes.zip beatles Law 5 4 20 4 1.60 bnrep_small_01-05_nodes.zip bullet Law 5 7 1319 2 2.80 bnrep_small_01-05_nodes.zip concrete7 Chemical Engineering 5 4 57 1 1.60 bnrep_small_01-05_nodes.zip fluids2 Law 5 4 65 2 1.60 bnrep_small_01-05_nodes.zip perioperative Medicine 5 4 23 1 1.60 bnrep_small_01-05_nodes.zip softwarelogs1 Computer Science 5 5 831 2 2.00 bnrep_small_01-05_nodes.zip theft2 Law 5 4 9 1 1.60 bnrep_small_01-05_nodes.zip trajectories Medicine 5 9 70 4 3.60 bnrep_small_01-05_nodes.zip tubercolosis Medicine 5 4 25 3 1.60 bnrep_small_01-05_nodes.zip wheat Agricultural Sciences 5 4 393 4 1.60 bnrep_small_01-05_nodes.zip augmenting Engineering 6 6 53 3 2.00 bnrep_small_06-10_nodes.zip beam1 Engineering 6 5 55 3 1.67 bnrep_small_06-10_nodes.zip beam2 Engineering 6 5 16 3 1.67 bnrep_small_06-10_nodes.zip compaction Agricultural Sciences 6 5 54 2 1.67 bnrep_small_06-10_nodes.zip crypto Economics 6 4 11 2 1.33 bnrep_small_06-10_nodes.zip firealarm Engineering 6 5 17 2 1.67 bnrep_small_06-10_nodes.zip knowledge Social Sciences 6 5 12 2 1.67 bnrep_small_06-10_nodes.zip phdarticles Social Sciences 6 4 16 1 1.33 bnrep_small_06-10_nodes.zip rainwater Environmental Science 6 6 107 2 2.00 bnrep_small_06-10_nodes.zip ricci Social Sciences 6 6 13 2 2.00 bnrep_small_06-10_nodes.zip rockburst Engineering 6 9 53 2 3.00 bnrep_small_06-10_nodes.zip sallyclark Law 6 5 11 1 1.67 bnrep_small_06-10_nodes.zip soil Earth Sciences 6 6 13 2 2.00 bnrep_small_06-10_nodes.zip transport Social Sciences 6 6 21 2 2.00 bnrep_small_06-10_nodes.zip witness Law 6 5 35 1 1.67 bnrep_small_06-10_nodes.zip moodstate Psychology 7 6 23 1 1.71 bnrep_small_06-10_nodes.zip mountaingoat Environmental Science 7 12 289 3 3.43 bnrep_small_06-10_nodes.zip salmonella1 Veterinary 7 5 13 2 1.43 bnrep_small_06-10_nodes.zip soilliquefaction1 Engineering 7 6 4114 6 1.71 bnrep_small_06-10_nodes.zip soilliquefaction2 Engineering 7 6 1051 5 1.71 bnrep_small_06-10_nodes.zip soilliquefaction3 Engineering 7 12 4222 6 3.43 bnrep_small_06-10_nodes.zip soilliquefaction4 Engineering 7 6 97 2 1.71 bnrep_small_06-10_nodes.zip twinframework Engineering 7 7 19 3 2.00 bnrep_small_06-10_nodes.zip algalactivity1 Environmental Science 8 10 22 2 2.50 bnrep_small_06-10_nodes.zip algalactivity2 Environmental Science 8 15 43 4 3.75 bnrep_small_06-10_nodes.zip asia Medicine 8 8 18 2 2.00 bnrep_small_06-10_nodes.zip coral1 Environmental Science 8 12 154 2 3.00 bnrep_small_06-10_nodes.zip coral2 Environmental Science 8 12 154 2 3.00 bnrep_small_06-10_nodes.zip coral3 Environmental Science 8 12 154 2 3.00 bnrep_small_06-10_nodes.zip coral4 Environmental Science 8 12 185 2 3.00 bnrep_small_06-10_nodes.zip coral5 Environmental Science 8 12 154 2 3.00 bnrep_small_06-10_nodes.zip criminal3 Law 8 9 19 2 2.25 bnrep_small_06-10_nodes.zip criminal4 Law 8 9 19 2 2.25 bnrep_small_06-10_nodes.zip enrollment Social Sciences 8 7 33 1 1.75 bnrep_small_06-10_nodes.zip foodallergy1 Medicine 8 12 31 3 3.00 bnrep_small_06-10_nodes.zip foodallergy2 Medicine 8 8 19 2 2.00 bnrep_small_06-10_nodes.zip foodallergy3 Medicine 8 8 17 2 2.00 bnrep_small_06-10_nodes.zip fundraising Business 8 8 25 3 2.00 bnrep_small_06-10_nodes.zip intentionalattacks Computer Science 8 7 26 4 1.75 bnrep_small_06-10_nodes.zip metal Engineering 8 7 263 7 1.75 bnrep_small_06-10_nodes.zip aircrash Law 9 8 144 2 1.78 bnrep_small_06-10_nodes.zip algal1 Environmental Science 9 9 27 3 2.00 bnrep_small_06-10_nodes.zip bankruptcy Economics 9 8 29 1 1.78 bnrep_small_06-10_nodes.zip covidfear Psychology 9 6 40 1 1.33 bnrep_small_06-10_nodes.zip covidrisk Social Sciences 9 13 27 2 2.89 bnrep_small_06-10_nodes.zip crimescene Law 9 13 45 3 2.89 bnrep_small_06-10_nodes.zip diabetes Medicine 9 8 18 2 1.78 bnrep_small_06-10_nodes.zip dioxins Agricultural Sciences 9 15 1929 2 3.33 bnrep_small_06-10_nodes.zip fluids3 Law 9 11 638 3 2.44 bnrep_small_06-10_nodes.zip lidar Earth Sciences 9 8 18 2 1.78 bnrep_small_06-10_nodes.zip rockquality Earth Sciences 9 8 537 3 1.78 bnrep_small_06-10_nodes.zip safespeeds Social Sciences 9 15 1207 2 3.33 bnrep_small_06-10_nodes.zip soillead Environmental Science 9 22 353 4 4.89 bnrep_small_06-10_nodes.zip APSsystem Computer Science 10 9 21 2 1.80 bnrep_small_06-10_nodes.zip argument Psychology 10 11 38 3 2.20 bnrep_small_06-10_nodes.zip gonorrhoeae Medicine 10 9 47 3 1.80 bnrep_small_06-10_nodes.zip greencredit Energy 10 12 92 2 2.40 bnrep_small_06-10_nodes.zip lawschool Social Sciences 10 21 117 4 4.20 bnrep_small_06-10_nodes.zip liquidity Economics 10 13 29 3 2.60 bnrep_small_06-10_nodes.zip nuclearwaste Engineering 10 11 592 8 2.20 bnrep_small_06-10_nodes.zip salmonella2 Veterinary 10 10 21 2 2.00 bnrep_small_06-10_nodes.zip seismic Engineering 10 12 164 3 2.40 bnrep_small_06-10_nodes.zip tbm Earth Sciences 10 15 4250 6 3.00 bnrep_small_06-10_nodes.zip agropastoral2 Social Sciences 11 17 109 2 3.09 bnrep_small_11-15_nodes.zip agropastoral3 Social Sciences 11 15 85 2 2.73 bnrep_small_11-15_nodes.zip disputed1 Law 11 11 25 2 2.00 bnrep_small_11-15_nodes.zip drainage Engineering 11 10 31 3 1.82 bnrep_small_11-15_nodes.zip fire Psychology 11 14 43 4 2.55 bnrep_small_11-15_nodes.zip redmeat Psychology 11 11 4555 6 2.00 bnrep_small_11-15_nodes.zip ropesegment Engineering 11 10 31 3 1.82 bnrep_small_11-15_nodes.zip blockchain Social Sciences 12 13 73 5 2.17 bnrep_small_11-15_nodes.zip covid1 Medicine 12 11 71 1 1.83 bnrep_small_11-15_nodes.zip covid2 Medicine 12 21 131 2 3.50 bnrep_small_11-15_nodes.zip covid3 Medicine 12 30 603 9 5.00 bnrep_small_11-15_nodes.zip criminal1 Law 12 14 50 3 2.33 bnrep_small_11-15_nodes.zip criminal2 Law 12 14 50 3 2.33 bnrep_small_11-15_nodes.zip engines Engineering 12 18 80 5 3.00 bnrep_small_11-15_nodes.zip fingermarks1 Law 12 20 45 3 3.33 bnrep_small_11-15_nodes.zip fingermarks2 Law 12 20 4337 3 3.33 bnrep_small_11-15_nodes.zip cardiovascular Medicine 13 40 2928 6 6.15 bnrep_small_11-15_nodes.zip curacao1 Environmental Science 13 12 77 4 1.85 bnrep_small_11-15_nodes.zip curacao2 Environmental Science 13 12 114 5 1.85 bnrep_small_11-15_nodes.zip curacao4 Environmental Science 13 12 60 4 1.85 bnrep_small_11-15_nodes.zip curacao5 Environmental Science 13 12 60 4 1.85 bnrep_small_11-15_nodes.zip ecosystem Environmental Science 13 12 98 3 1.85 bnrep_small_11-15_nodes.zip income Economics 13 20 407 4 3.08 bnrep_small_11-15_nodes.zip vessel2 Engineering 13 18 63 4 2.77 bnrep_small_11-15_nodes.zip permaBN Environmental Science 14 27 1070 5 3.86 bnrep_small_11-15_nodes.zip softwarelogs3 Computer Science 14 13 707 1 1.86 bnrep_small_11-15_nodes.zip softwarelogs4 Computer Science 14 21 6477 3 3.00 bnrep_small_11-15_nodes.zip volleyball Sports 14 18 1768 3 2.57 bnrep_small_11-15_nodes.zip agropastoral1 Social Sciences 15 12 84 1 1.60 bnrep_small_11-15_nodes.zip consequenceCovid Social Sciences 15 34 382 4 4.53 bnrep_small_11-15_nodes.zip macrophytes Environmental Science 15 20 174 3 2.67 bnrep_small_11-15_nodes.zip electrolysis Chemical Engineering 16 18 83 5 2.25 bnrep_small_16-20_nodes.zip intensification Agricultural Sciences 16 29 12243 6 3.62 bnrep_small_16-20_nodes.zip vessel1 Engineering 16 17 53 4 2.12 bnrep_small_16-20_nodes.zip accidents Engineering 17 16 395 1 1.88 bnrep_small_16-20_nodes.zip disputed2 Law 17 19 55 2 2.24 bnrep_small_16-20_nodes.zip emergency Engineering 17 16 36 2 1.88 bnrep_small_16-20_nodes.zip tastingtea Social Sciences 17 72 1787 9 8.47 bnrep_small_16-20_nodes.zip waterlead Environmental Science 17 31 145 2 3.65 bnrep_small_16-20_nodes.zip constructionproductivity Engineering 18 19 74 5 2.11 bnrep_small_16-20_nodes.zip covidtech Psychology 18 18 93 2 2.00 bnrep_small_16-20_nodes.zip gasexplosion Chemical Engineering 18 23 57 3 2.56 bnrep_small_16-20_nodes.zip megacities Energy 18 17 55 4 1.89 bnrep_small_16-20_nodes.zip adhd Psychology 19 18 219 1 1.89 bnrep_small_16-20_nodes.zip airegulation2 Business 19 36 390 4 3.79 bnrep_small_16-20_nodes.zip airegulation3 Business 19 37 687 4 3.89 bnrep_small_16-20_nodes.zip catchment Environmental Science 19 26 179 3 2.74 bnrep_small_16-20_nodes.zip curacao3 Environmental Science 19 18 84 4 1.89 bnrep_small_16-20_nodes.zip nuisancegrowth Environmental Science 19 24 466 4 2.53 bnrep_small_16-20_nodes.zip corical Medicine 20 26 210 4 2.60 bnrep_small_16-20_nodes.zip ets Business 20 32 272 2 3.20 bnrep_small_16-20_nodes.zip The samples were generated in R 4.4.3 with the bnRep (0.0.6) and bnlearn (5.0.2) packages. Each network is loaded with data(<network>, package = "bnRep") and every sample is drawn with bnlearn::rbn(bn, 5000). Before sampling, the state names are sanitised (any character other than a letter or a digit is replaced by _, and names that collide are made unique), because several bnRep networks use state names with spaces and punctuation that BIF parsers reject. The CSV files and the BIF files therefore share the same state names. A few networks leave undefined (NA) the conditional distributions of parent configurations that were absent from the data they were fitted on; those distributions are set to uniform. In volleyball, whose CPTs refer to the node neuroticism as NEUROTICISM, the parent names are matched to the nodes ignoring case. The arc counts above are computed from the networks themselves and differ from the bnRep summary table for some networks (e.g. agropastoral4 and corrosion). Samples of the networks of bnlearn's Bayesian Network Repository, generated in the same format, are available at https://doi.org/10.5281/zenodo.14917796.
Keyword(s):
Bayesian Network; bnlearn; bnRep.
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)