Main Page | Modules | Data Structures | File List | Globals | Related Pages

beliefnetdata File Reference

Detailed Description

Creates a data set by sampling from a Bayesian Network.

>This program creates a synthetic data set by loading an existing belief network (in BIF format) and sampling from it, possibly introducing noise. This program will also create a .names file for the resulting data set. More specifically, belifnetdata reads the network, generates samples from it with BNGenerateSample, and adds noise to them (if requested) with ExampleAddNoise.

Multiple runs with the same seed parameter produce the same results. Also note that running this command with one level of -v will output some statistics about the belif net which you might find useful.

VFML comes with a collection of benchmark belief nets, and you may want more information on these.



beliefnetdata -f train -bnf alarm.bif -train 1000 -seed 111 -noise 5

Creates 1000 samples from the alarm network, randomly corrupts 5% of their values, write the resulting samples to (and create a file train.names) and reproduce the same data set everytime the same arguments are used (thanks to the seed parameter)

Generated for VFML by doxygen hosted by Logo