Learn R Programming

BayesNetBP (version 1.0.1)

clustertree: A Cluster Tree class

Description

The clustertree object is the computational object for belief propagation.

Arguments

Details

A clustertree object can be obtained by the ElimTreeInitialize, and it contains necessary information for belief propagation, such as the topological inforamtion of Bayesian network and cluster tree, as well as the local models. This object comprises the following elements,

nodes

A list of the node or variable names.

node.class

A named vector of logical values indicating whether each node is continuous or discrete.

dag

A graphNEL object of the Bayesian network structure.

tree.graph

A graphNEL object of the semi-elimination tree structure.

cluster.tree

A list storing the cluster members and corresponding local models as linear predictor potentials, conditional probability tables, and joint distribution tables.

assignment

A list indicating the cluster assignment of the discrete factors.

propagated

A logical value indicating whether the discrete compartment has been propagated.

absorbed.variables

A vector of characters indicating variables observed with hard evidence.

absorbed.values

A list indicating the values of the variables observed with hard evidence.

absorbed.soft.variables

A vector of characters indicating variables observed with soft or likelihood evidence.

absorbed.soft.values

A list of the likelihoods of the soft or likelihood evidence.

See Also

ElimTreeInitialize