Learn R Programming

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

bnlearn (version 3.4)

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

25,548

Version

3.4

License

GPL (>= 2)

Maintainer

Last Published

July 26th, 2013

Functions in bnlearn (3.4)

bn.kcv class

The bn.kcv class structure
bn.fit class

The bn.fit class structure
graph integration

Import and export networks from the graph package
graphviz.plot

Advanced Bayesian network plots
compare

Compare two different Bayesian networks
hybrid algorithms

Hybrid structure learning algorithms
foreign files utilities

Read and write BIF, NET and DSC files
snow integration

bnlearn - snow/parallel package integration
alarm

ALARM Monitoring System (synthetic) data set
cpquery

Perform conditional probability queries
arc operations

Drop, add or set the direction of an arc
score-based algorithms

Score-based structure learning algorithms
graph utilities

Utilities to manipulate graphs
graph generation utilities

Generate empty or random graphs
strength.plot

Arc strength plot
bn.boot

Parametric and nonparametric bootstrap of Bayesian networks
deal integration

bnlearn - deal package integration
insurance

Insurance evaluation network (synthetic) data set
model string utilities

Build a model string from a Bayesian network and vice versa
node ordering utilities

Utilities dealing with partial node orderings
relevant

Identify Relevant Nodes Without Learning the Bayesian network
bn.fit plots

Plot fitted Bayesian networks
gaussian.test

Synthetic (continuous) data set to test learning algorithms
learning.test

Synthetic (discrete) data set to test learning algorithms
misc utilities

Miscellaneous utilities
coronary

Coronary Heart Disease data set
naive.bayes

Naive Bayes classifiers
arc.strength

Measure arc strength
constraint-based algorithms

Constraint-based structure learning algorithms
discretize

Discretize data to learn discrete Bayesian networks
marks

Examination marks data set
asia

Asia (synthetic) data set by Lauritzen and Spiegelhalter
cpdag

Equivalence classes, moral graphs and consistent extensions
choose.direction

Try to infer the direction of an undirected arc
local discovery algorithms

Local discovery structure learning algorithms
gRain integration

Import and export networks from the gRain package
bn.var

Structure variability of Bayesian networks
bn.fit utilities

Utilities to manipulate fitted Bayesian networks
plot.bn.strength

Plot arc strengths derived from bootstrap
plot.bn

Plot a Bayesian network
bn.cv

Cross-validation for Bayesian networks
bn.fit

Fit the parameters of a Bayesian network
bnlearn-package

Bayesian network structure learning, parameter learning and inference.
ci.test

Independence and Conditional Independence Tests
hailfinder

The HailFinder weather forecast system (synthetic) data set
single-node local discovery

Discover the structure around a single node
rbn

Generate random data from a given Bayesian network
bn class

The bn class structure
lizards

Lizards' perching behaviour data set
bn.strength class

The bn.strength class structure
dsep

Test d-separation
score

Score of the Bayesian network