Learn R Programming

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

bnlearn (version 2.8)

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

19,702

Version

2.8

License

GPL (>= 2)

Maintainer

Marco Scutari

Last Published

December 5th, 2011

Functions in bnlearn (2.8)

graph utilities

Utilities to manipulate graphs
insurance

Insurance evaluation network (synthetic) data set
coronary

Coronary Heart Disease data set
model string utilities

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

Cross-validation for Bayesian networks
discretize

Discretize data to learn discrete Bayesian networks
hybrid algorithms

Hybrid structure learning algorithms
bn.fit utilities

Utilities to manipulate fitted Bayesian networks
naive.bayes

Discrete naive Bayes classifiers
cpquery

Perform conditional probability queries
choose.direction

Try to infer the direction of an undirected arc
graph generation utilities

Generate empty or random graphs
bn.fit class

The bn.fit class structure
plot.bn

Plot a Bayesian network
bn.strength class

The bn.strength class structure
bnlearn-package

Bayesian network structure learning, parameter learning and inference.
bn.fit plots

Plot fitted Bayesian networks
marks

Examination marks data set
score-based algorithms

Score-based structure learning algorithms
bn.boot

Parametric and nonparametric bootstrap of Bayesian networks
strength.plot

Arc strength plot
cpdag

Find the equivalence class of a Bayesian network
compare

Compare two different Bayesian networks
bn.fit

Fit the parameters of a Bayesian network
bn class

The bn class structure
graphviz.plot

Advanced Bayesian network plots
arc.strength

Measure arc strength
local discovery algorithms

Local discovery structure learning algorithms
learning.test

Synthetic (discrete) data set to test learning algorithms
foreign files utilities

Read and write BIF, NET and DSC files
asia

Asia (synthetic) data set by Lauritzen and Spiegelhalter
constraint-based algorithms

Constraint-based structure learning algorithms
rbn

Generate random data from a given Bayesian network
score

Score of the Bayesian network
lizards

Lizards' perching behaviour data set
ci.test

Independence and Conditional Independence Tests
snow integration

bnlearn - snow package integration
misc utilities

Miscellaneous utilities
node ordering utilities

Utilities dealing with partial node orderings
gaussian.test

Synthetic (continuous) data set to test learning algorithms
hailfinder

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

Structure variability of Bayesian networks
deal integration

bnlearn - deal package integration
arc operations

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

The bn.kcv class structure
alarm

ALARM Monitoring System (synthetic) data set