Initializer {BayesNetBP} | R Documentation |
Initialize a ClusterTree object
Description
Initialize a ClusterTree object
Usage
Initializer(dag, data, node.class, propagate = TRUE)
Arguments
dag |
a |
data |
a |
node.class |
a named |
propagate |
|
Details
A wrapper function to initialize a ClusterTree
object. It combines
the functions of ClusterTreeCompile
, LocalModelCompile
,
ElimTreeInitialize
and Propagate
, thus initialize the ClusterTree
object in a single step.
Value
ClusterTree
object
Author(s)
Han Yu
References
Cowell, R. G. (2005). Local propagation in conditional Gaussian Bayesian networks.
Journal of Machine Learning Research, 6(Sep), 1517-1550.
Yu H, Moharil J, Blair RH (2020). BayesNetBP: An R Package for Probabilistic Reasoning in Bayesian
Networks. Journal of Statistical Software, 94(3), 1-31. <doi:10.18637/jss.v094.i03>.
See Also
ClusterTreeCompile
, LocalModelCompile
, ElimTreeInitialize
,
Propagate
Examples
data(liver)
tree.init.p <- Initializer(dag=liver$dag, data=liver$data,
node.class=liver$node.class,
propagate = TRUE)