learning-test: Synthetic (discrete) data set to test learning algorithms

Description Usage Format Note Examples

Description

This a synthetic data set used as a test case in the bnlearn package.

Usage

1

Format

The learning.test data set contains the following variables:

Note

The R script to generate data from this network is shipped in the ‘network.scripts’ directory of this package.

Examples

1
2
3
4
5
# load the data and build the correct network from the model string.
data(learning.test)
res = empty.graph(names(learning.test))
modelstring(res) = "[A][C][F][B|A][D|A:C][E|B:F]"
plot(res)

vspinu/bnlearn documentation built on May 3, 2019, 7:08 p.m.