Learn R Programming

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

bnlearn (version 2.9)

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 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. 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,198

Version

2.9

License

GPL (>= 2)

Maintainer

Marco Scutari

Last Published

March 5th, 2012

Functions in bnlearn (2.9)

bn.kcv class

The bn.kcv class structure
bn.var

Structure variability of Bayesian networks
local discovery algorithms

Local discovery structure learning algorithms
choose.direction

Try to infer the direction of an undirected arc
snow integration

bnlearn - snow package integration
bnlearn-package

Bayesian network structure learning, parameter learning and inference.
arc.strength

Measure arc strength
cpquery

Perform conditional probability queries
bn.strength class

The bn.strength class structure
discretize

Discretize data to learn discrete Bayesian networks
lizards

Lizards' perching behaviour data set
gaussian.test

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

Cross-validation for Bayesian networks
bn.fit utilities

Utilities to manipulate fitted Bayesian networks
arc operations

Drop, add or set the direction of an arc
graph generation utilities

Generate empty or random graphs
ci.test

Independence and Conditional Independence Tests
hybrid algorithms

Hybrid structure learning algorithms
deal integration

bnlearn - deal package integration
score

Score of the Bayesian network
graph utilities

Utilities to manipulate graphs
cpdag

Equivalence classes, moral graphs and consistent extenions
hailfinder

The HailFinder weather forecast system (synthetic) data set
bn.boot

Parametric and nonparametric bootstrap of Bayesian networks
learning.test

Synthetic (discrete) data set to test learning algorithms
node ordering utilities

Utilities dealing with partial node orderings
constraint-based algorithms

Constraint-based structure learning algorithms
misc utilities

Miscellaneous utilities
coronary

Coronary Heart Disease data set
plot.bn

Plot a Bayesian network
strength.plot

Arc strength plot
alarm

ALARM Monitoring System (synthetic) data set
insurance

Insurance evaluation network (synthetic) data set
rbn

Generate random data from a given Bayesian network
score-based algorithms

Score-based structure learning algorithms
foreign files utilities

Read and write BIF, NET and DSC files
marks

Examination marks data set
bn class

The bn class structure
gRain integration

Import and export networks from the gRain package
graph integration

Import and export networks from the graph package
graphviz.plot

Advanced Bayesian network plots
model string utilities

Build a model string from a Bayesian network and vice versa
bn.fit

Fit the parameters of a Bayesian network
naive.bayes

Discrete naive Bayes classifiers
bn.fit class

The bn.fit class structure
asia

Asia (synthetic) data set by Lauritzen and Spiegelhalter
bn.fit plots

Plot fitted Bayesian networks
compare

Compare two different Bayesian networks