Learn R Programming

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

bnlearn (version 2.0)

Bayesian network structure learning

Description

Bayesian network structure learning via constraint-based (also known as 'conditional independence'), score-based and hybrid algorithms. 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 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 basic parametric and bootstrap inference functions.

Copy Link

Version

Install

install.packages('bnlearn')

Monthly Downloads

20,455

Version

2.0

License

GPL (>= 2)

Maintainer

Marco Scutari

Last Published

May 11th, 2010

Functions in bnlearn (2.0)

bn.fit utilities

Utilities to manipulate fitted Bayesian networks
bn.var

Structure Variability of Bayesian networks
bn.strength class

The bn.strength class structure
arc operations

Drop, add or set the direction of an arc
bn.fit

Fit the parameters of a Bayesian network
asia

Asia (synthetic) data set by Lauritzen and Spiegelhalter
bn class

The bn class structure
alarm

ALARM Monitoring System data set
bn.fit class

The bn.fit class structure
bnlearn-package

Bayesian network structure learning.
arc.strength

Measure the strength of the arcs
choose.direction

Try to infer the direction of an undirected arc
hybrid algorithms

Hybrid learning algorithms
graphviz.plot

Advanced Bayesian network plots
ci.test

Independence and Conditional Independence Tests
model string utilities

Build a model string from a Bayesian network and vice versa
boot.strength

Bootstrap arc strength and direction
deal integration

bnlearn - deal package integration
insurance

Insurance evaluation network data set
snow integration

bnlearn - snow package integration
node ordering utilities

Partial node ordering utilities
learning.test

Synthetic (discrete) data set to test learning algorithms
local discovery algorithms

Local discovery learning algorithms
coronary

Coronary Heart Disease data set
graph utilities

Utilities to manipulate graphs
gaussian.test

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

Plot fitted Bayesian networks
strength.plot

Arc strength plot
plot.bn

Plot a Bayesian network
score-based algorithms

Score-based learning algorithms
bnboot

Parametric and nonparametric bootstrap of Bayesian networks
misc utilities

Miscellaneous utilities
graph generation utilities

Generate an empty or random graph
hailfinder

The HailFinder weather forecast system
compare

Compare two different Bayesian networks
score

Score of the Bayesian network
rbn

Generate random data from a given Bayesian network
marks

Examination marks data set
lizards

Lizards' perching behaviour data set
cpdag

Find the equivalence class of a Bayesian network
constraint-based algorithms

Constraint-based learning algorithms