Learn R Programming

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

bnlearn (version 0.6)

Bayesian network structure learning

Description

Bayesian network structure learning via constraint-based (also known as 'conditional independence') and score-based 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 and the Hill-Climbing (HC) greedy search 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) are also included.

Copy Link

Version

Install

install.packages('bnlearn')

Monthly Downloads

20,455

Version

0.6

License

GPL (>= 2)

Maintainer

Marco Scutari

Last Published

January 7th, 2025

Functions in bnlearn (0.6)

arc operations

Drop, add or set the direction of an arc
compare

Compare two different Bayesian networks
rbn

Generate random data from a given Bayesian network
gaussian.test

Synthetic dataset to test learning algorithms
bn class

The bn class structure
score

Score of the Bayesian network
learning.test

Synthetic dataset to test learning algorithms
inter.iamb

Interleaved Incremental Association (Inter-IAMB) learning algorithm
graph generation tools

Generate an empty or random graph
hc

Hill-Climbing (HC) learning algorithm
choose.direction

Try to infer the direction of an undirected arc
plot.bn

Plot a Bayesian network
network tools

Utilities to manipulate graphs
model string tools

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

Incremental Association (IAMB) learning algorithm
bnlearn-package

Bayesian network constraint-based structure learning.
node ordering tools

Partial node ordering utilities
fast.iamb

Fast Incremental Association (Fast-IAMB) learning algorithm
gs

Grow-Shrink (GS) learning algorithm