powered by
Initialize a ClusterTree object
Initializer(dag, data, node.class, propagate = TRUE)
a graphNEL object of the Bayesian network
graphNEL
a data.frame object
data.frame
a named vector of logical values, TRUE if node is discrete, FASLE if otherwise
vector
logical
TRUE
FASLE
logical TRUE if the discrete part of the '>ClusterTree to be propagated
'>ClusterTree
'>ClusterTree object
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.
ClusterTreeCompile
LocalModelCompile
ElimTreeInitialize
Propagate
Cowell, R. G. (2005). Local propagation in conditional Gaussian Bayesian networks. Journal of Machine Learning Research, 6(Sep), 1517-1550.
ClusterTreeCompile, LocalModelCompile, ElimTreeInitialize, Propagate
# NOT RUN { data(liver) tree.init.p <- Initializer(dag=liver$dag, data=liver$data, node.class=liver$node.class, propagate = TRUE) # }
Run the code above in your browser using DataLab