Learn R Programming

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

bnlearn (version 0.7)

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.7

License

GPL (>= 2)

Maintainer

Marco Scutari

Last Published

January 7th, 2025

Functions in bnlearn (0.7)

hc

Hill-Climbing (HC) learning algorithm
plot.bn

Plot a Bayesian network
model string tools

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

Grow-Shrink (GS) learning algorithm
snow integration

bnlearn - snow package integration
compare

Compare two different Bayesian networks
graph generation tools

Generate an empty or random graph
arc operations

Drop, add or set the direction of an arc
node ordering tools

Partial node ordering utilities
gaussian.test

Synthetic (continuous) dataset to test learning algorithms
fast.iamb

Fast Incremental Association (Fast-IAMB) learning algorithm
bnlearn-package

Bayesian network constraint-based structure learning.
inter.iamb

Interleaved Incremental Association (Inter-IAMB) learning algorithm
score

Score of the Bayesian network
network tools

Utilities to manipulate graphs
rbn

Generate random data from a given Bayesian network
learning.test

Synthetic (discrete) dataset to test learning algorithms
iamb

Incremental Association (IAMB) learning algorithm
choose.direction

Try to infer the direction of an undirected arc
bn class

The bn class structure