pathfinder: The pathfinder network

Description Usage Format Details References Examples

Description

Simulated data and network for the pathfinder network from the Bayesian network repository. Pathfinder is an expert system developed by Heckerman et. al (1992) [1] to assist with the diagnosis of lymph-node diseases.

Usage

1

Format

A list with four components:

Details

This is a benchmark network used to test algorithms for learning Bayesian networks. The data is simulated from a Gaussian SEM assuming unit edge weights and unit variances for all nodes.

References

[1] Heckerman, David E., and Bharat N. Nathwani. "An evaluation of the diagnostic accuracy of Pathfinder." Computers and Biomedical Research 25.1 (1992): 56-74.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
### Create a valid sparsebnData object from the simulated pathfinder data
data(pathfinder)
dat <- sparsebnData(pathfinder$data, type = "c")

### Code to reproduce this dataset by randomly generating edge weights
coefs <- runif(n = num.edges(pathfinder$dag), min = 0.5, max = 2) # coefficients
vars <- rep(1, num.nodes(pathfinder$dag))                         # variances
params <- c(coefs, vars)                                          # parameter vector
pathfinder.data <- generate_mvn_data(graph = pathfinder$dag,
                                     params = params,
                                     n = 1000)

sparsebn documentation built on Sept. 13, 2020, 5:10 p.m.