bn.fit.class: The bn.fit class structure

Description Details Author(s)

Description

The structure of an object of S3 class bn.fit.

Details

An object of class bn.fit is a list whose elements correspond to the nodes of the Bayesian network. If the latter is discrete (i.e. the nodes are multinomial random variables) each node has class bn.fit.dnode and contains the following elements:

Nodes encoding ordinal variables (i.e. ordered factors) have class bn.fit.onode and contain the same elements as bn.fit.dnode nodes.

If on the other hand the network is continuous (i.e. the nodes are Gaussian random variables) each node has class bn.fit.gnode and contains the following elements:

Furthermore, Bayesian network classifiers store the label of the training node in an additional attribute named training.

Author(s)

Marco Scutari


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