Learn R Programming

⚠️There's a newer version (5.1) of this package.Take me there.

bnlearn (version 3.0)

Bayesian network structure learning, parameter learning and inference

Description

Bayesian network structure learning (via constraint-based, score-based and hybrid algorithms), parameter learning (via ML and Bayesian estimators) and inference. This package implements the Grow-Shrink (GS) algorithm, the Incremental Association (IAMB) algorithm, the Interleaved-IAMB (Inter-IAMB) algorithm, the Fast-IAMB (Fast-IAMB) algorithm, the Max-Min Parents and Children (MMPC) algorithm, the Hiton-PC algorithm, the ARACNE and Chow-Liu algorithms, the Hill-Climbing (HC) greedy search algorithm, the Tabu Search (TABU) algorithm, the Max-Min Hill-Climbing (MMHC) algorithm and the two-stage Restricted Maximization (RSMAX2) algorithm for both discrete and Gaussian 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 and inference, conditional probability queries and cross-validation.

Copy Link

Version

Install

install.packages('bnlearn')

Monthly Downloads

24,158

Version

3.0

License

GPL (>= 2)

Maintainer

Marco Scutari

Last Published

July 5th, 2012

Functions in bnlearn (3.0)

model string utilities

Build a model string from a Bayesian network and vice versa
constraint-based algorithms

Constraint-based structure learning algorithms
alarm

ALARM Monitoring System (synthetic) data set
cpquery

Perform conditional probability queries
score-based algorithms

Score-based structure learning algorithms
graph integration

Import and export networks from the graph package
rbn

Generate random data from a given Bayesian network
lizards

Lizards' perching behaviour data set
cpdag

Equivalence classes, moral graphs and consistent extenions
misc utilities

Miscellaneous utilities
bn.fit

Fit the parameters of a Bayesian network
insurance

Insurance evaluation network (synthetic) data set
discretize

Discretize data to learn discrete Bayesian networks
gRain integration

Import and export networks from the gRain package
graph utilities

Utilities to manipulate graphs
foreign files utilities

Read and write BIF, NET and DSC files
bn.strength class

The bn.strength class structure
bn.cv

Cross-validation for Bayesian networks
plot.bn

Plot a Bayesian network
single-node local discovery

Discover the structure around a single node
hailfinder

The HailFinder weather forecast system (synthetic) data set
compare

Compare two different Bayesian networks
bn.boot

Parametric and nonparametric bootstrap of Bayesian networks
bn.fit utilities

Utilities to manipulate fitted Bayesian networks
bn.fit class

The bn.fit class structure
asia

Asia (synthetic) data set by Lauritzen and Spiegelhalter
bnlearn-package

Bayesian network structure learning, parameter learning and inference.
graphviz.plot

Advanced Bayesian network plots
bn.fit plots

Plot fitted Bayesian networks
bn.kcv class

The bn.kcv class structure
ci.test

Independence and Conditional Independence Tests
local discovery algorithms

Local discovery structure learning algorithms
arc.strength

Measure arc strength
bn class

The bn class structure
coronary

Coronary Heart Disease data set
bn.var

Structure variability of Bayesian networks
score

Score of the Bayesian network
gaussian.test

Synthetic (continuous) data set to test learning algorithms
graph generation utilities

Generate empty or random graphs
arc operations

Drop, add or set the direction of an arc
snow integration

bnlearn - snow package integration
learning.test

Synthetic (discrete) data set to test learning algorithms
naive.bayes

Naive Bayes classifiers
dsep

Test d-separation
hybrid algorithms

Hybrid structure learning algorithms
deal integration

bnlearn - deal package integration
node ordering utilities

Utilities dealing with partial node orderings
strength.plot

Arc strength plot
choose.direction

Try to infer the direction of an undirected arc
marks

Examination marks data set