Learn R Programming

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

bnlearn (version 3.1)

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.1

License

GPL (>= 2)

Maintainer

Last Published

September 27th, 2012

Functions in bnlearn (3.1)

deal integration

bnlearn - deal package integration
gRain integration

Import and export networks from the gRain package
bn.kcv class

The bn.kcv class structure
arc.strength

Measure arc strength
bn.var

Structure variability of Bayesian networks
rbn

Generate random data from a given Bayesian network
plot.bn

Plot a Bayesian network
bn.fit utilities

Utilities to manipulate fitted Bayesian networks
bn class

The bn class structure
bn.fit plots

Plot fitted Bayesian networks
marks

Examination marks data set
node ordering utilities

Utilities dealing with partial node orderings
alarm

ALARM Monitoring System (synthetic) data set
bn.boot

Parametric and nonparametric bootstrap of Bayesian networks
graph integration

Import and export networks from the graph package
dsep

Test d-separation
cpdag

Equivalence classes, moral graphs and consistent extenions
model string utilities

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

Constraint-based structure learning algorithms
cpquery

Perform conditional probability queries
ci.test

Independence and Conditional Independence Tests
hailfinder

The HailFinder weather forecast system (synthetic) data set
naive.bayes

Naive Bayes classifiers
learning.test

Synthetic (discrete) data set to test learning algorithms
coronary

Coronary Heart Disease data set
gaussian.test

Synthetic (continuous) data set to test learning algorithms
insurance

Insurance evaluation network (synthetic) data set
local discovery algorithms

Local discovery structure learning algorithms
strength.plot

Arc strength plot
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.
arc operations

Drop, add or set the direction of an arc
compare

Compare two different Bayesian networks
graph generation utilities

Generate empty or random graphs
single-node local discovery

Discover the structure around a single node
choose.direction

Try to infer the direction of an undirected arc
bn.fit

Fit the parameters of a Bayesian network
graph utilities

Utilities to manipulate graphs
graphviz.plot

Advanced Bayesian network plots
bn.cv

Cross-validation for Bayesian networks
score-based algorithms

Score-based structure learning algorithms
hybrid algorithms

Hybrid structure learning algorithms
lizards

Lizards' perching behaviour data set
discretize

Discretize data to learn discrete Bayesian networks
misc utilities

Miscellaneous utilities
snow integration

bnlearn - snow package integration
bn.strength class

The bn.strength class structure
score

Score of the Bayesian network
foreign files utilities

Read and write BIF, NET and DSC files