Research Article

Extraction of Belief Knowledge from a Relational Database for Quantitative Bayesian Network Inference

Algorithm 3

Input: Training set , attribute set , and class .
Output: TAN constructed by conditional mutual information metric.
Step 1. Compute the conditional mutual information between
each pair of attributes , .
Step 2. Build a complete undirected graph wherein the vertices are attributes .
Annotate the weight of an edge connecting to by .
Step 3. Build a maximum weighted spanning tree.
Step 4. Transform the resulting undirected tree to a directed tree by choosing a root node
and setting the direction of all edges outward from the directed tree.
Step 5. Build a TAN model by adding a vertex labeled by and adding an arc from to each .