Learn R Programming

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

bnlearn (version 1.9)

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

28,023

Version

1.9

License

GPL (>= 2)

Maintainer

Marco Scutari

Last Published

February 14th, 2010

Functions in bnlearn (1.9)

alarm

ALARM Monitoring System data set
bnboot

Parametric and nonparametric bootstrap of Bayesian networks
bn.strength class

The bn.strength class structure
arc operations

Drop, add or set the direction of an arc
cpdag

Find the equivalence class of a Bayesian network
bnlearn-package

Bayesian network structure learning.
ci.test

Independence and Conditional Independence Tests
graphviz.plot

Advanced Bayesian network plots
arc.strength

Measure the strength of the arcs
compare

Compare two different Bayesian networks
bn class

The bn class structure
bn.fit plots

Plot fitted Bayesian networks
learning.test

Synthetic (discrete) data set to test learning algorithms
score

Score of the Bayesian network
lizards

Lizards' perching behaviour data set
bn.fit

Fit the parameters of a Bayesian network
bn.var

Structure Variability of Bayesian networks
bn.fit utilities

Utilities to manipulate fitted Bayesian networks
boot.strength

Bootstrap arc strength and direction
deal integration

bnlearn - deal package integration
hybrid algorithms

Hybrid learning algorithms
snow integration

bnlearn - snow package integration
gaussian.test

Synthetic (continuous) data set to test learning algorithms
score-based algorithms

Score-based learning algorithms
misc utilities

Miscellaneous utilities
graph generation utilities

Generate an empty or random graph
constraint-based algorithms

Constraint-based learning algorithms
node ordering utilities

Partial node ordering utilities
choose.direction

Try to infer the direction of an undirected arc
hailfinder

The HailFinder weather forecast system
rbn

Generate random data from a given Bayesian network
marks

Examination marks data set
bn.fit class

The bn.fit class structure
model string utilities

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

Plot a Bayesian network
local discovery algorithms

Local discovery learning algorithms
graph utilities

Utilities to manipulate graphs
strength.plot

Arc strength plot
insurance

Insurance evaluation network data set
asia

Asia (synthetic) data set by Lauritzen and Spiegelhalter