Learn R Programming

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

bnlearn (version 2.6)

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,158

Version

2.6

License

GPL (>= 2)

Maintainer

Marco Scutari

Last Published

August 28th, 2011

Functions in bnlearn (2.6)

cpquery

Perform conditional probability queries
bn.fit utilities

Utilities to manipulate fitted Bayesian networks
bn.strength class

The bn.strength class structure
marks

Examination marks data set
bn.cv

Cross-validation for Bayesian networks
bn.var

Structure variability of Bayesian networks
ci.test

Independence and Conditional Independence Tests
hybrid algorithms

Hybrid structure learning algorithms
compare

Compare two different Bayesian networks
bn.fit class

The bn.fit class structure
graph utilities

Utilities to manipulate graphs
choose.direction

Try to infer the direction of an undirected arc
cpdag

Find the equivalence class of a Bayesian network
plot.bn

Plot a Bayesian network
coronary

Coronary Heart Disease data set
graphviz.plot

Advanced Bayesian network plots
misc utilities

Miscellaneous utilities
bn class

The bn class structure
hailfinder

The HailFinder weather forecast system (synthetic) data set
insurance

Insurance evaluation network (synthetic) data set
bn.boot

Parametric and nonparametric bootstrap of Bayesian networks
bn.fit

Fit the parameters of a Bayesian network
asia

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

Plot fitted Bayesian networks
bnlearn-package

Bayesian network structure learning, parameter learning and inference.
score-based algorithms

Score-based structure learning algorithms
learning.test

Synthetic (discrete) data set to test learning algorithms
snow integration

bnlearn - snow package integration
deal integration

bnlearn - deal package integration
gaussian.test

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

Discrete naive Bayes classifiers
foreign files utilities

Read and write BIF, NET and DSC files
score

Score of the Bayesian network
node ordering utilities

Utilities dealing with partial node orderings
model string utilities

Build a model string from a Bayesian network and vice versa
alarm

ALARM Monitoring System (synthetic) data set
rbn

Generate random data from a given Bayesian network
lizards

Lizards' perching behaviour data set
arc operations

Drop, add or set the direction of an arc
local discovery algorithms

Local discovery structure learning algorithms
graph generation utilities

Generate empty or random graphs
strength.plot

Arc strength plot
constraint-based algorithms

Constraint-based structure learning algorithms
arc.strength

Measure arc strength
discretize

Discretize data to learn discrete Bayesian networks
bn.kcv class

The bn.kcv class structure