bnlearn: Bayesian Network Structure Learning, Parameter Learning and
Inference
Bayesian network structure learning, parameter learning and inference.
This package implements constraint-based (PC, GS, IAMB, Inter-IAMB, MMPC,
Hiton-PC, HPC), pairwise (ARACNE and Chow-Liu), score-based (Hill-Climbing,
Tabu Search, DirectLiNGAM) and hybrid (MMHC, RSMAX2, H2PC) structure learning
algorithms for discrete, Gaussian, conditional Gaussian and zero-inflated
networks, along with many score functions and conditional independence tests.
The Naive Bayes and the Tree-Augmented Naive Bayes (TAN) classifiers are also
implemented. Some utility functions (model comparison and manipulation,
random data generation, arc orientation testing, simple and advanced plots)
are included, as well as support for parameter estimation (maximum likelihood
and Bayesian) and inference, conditional probability queries, interventions,
counterfactuals, cross-validation, bootstrap and model averaging. Development
snapshots with the latest bugfixes are available from
<https://www.bnlearn.com/>.
| Version: |
5.2 |
| Depends: |
R (≥ 4.4.0), methods |
| Suggests: |
parallel, graph, Rgraphviz, igraph, lattice, gRbase, gRain (≥ 1.3-3), Rmpfr, gmp, glmnet |
| Published: |
2026-07-13 |
| DOI: |
10.32614/CRAN.package.bnlearn |
| Author: |
Marco Scutari [aut, cre],
Tomi Silander [ctb] |
| Maintainer: |
Marco Scutari <scutari at bnlearn.com> |
| License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: |
https://www.bnlearn.com/ |
| NeedsCompilation: |
yes |
| SystemRequirements: |
USE_C17 |
| Citation: |
bnlearn citation info |
| Materials: |
ChangeLog |
| In views: |
Bayesian, GraphicalModels, HighPerformanceComputing |
| CRAN checks: |
bnlearn results |
Documentation:
Downloads:
Reverse dependencies:
| Reverse depends: |
dbnR, GroupBN |
| Reverse imports: |
BayesianNetwork, BayesNetBP, bayesvl, bnmonitor, bnpa, bnRep, BNrich, bnviewer, causalDisco, CBNplot, cia, criticality, dagHMM, dbnlearn, DPI, GmicR, mDAG, MetNet, MoTBFs, MRPC, OrdCD, PCBN, pchc, Pigengene, PROPS, rPACI, SELF, StratifiedBalancing, TRONCO |
| Reverse suggests: |
bivarhr, caugi, CompareCausalNetworks, ethnobotanyR, ggkegg, gRain, OGI, rbmn, stagedtrees |
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=bnlearn
to link to this page.