next up previous contents
Next: A note on CPT Up: Bayes Network GUI Previous: Statusbar   Contents

Click right mouse button

Clicking the right mouse button in the graph panel outside a node brings up the following popup menu. It allows to add a node at the location that was clicked, or add select a parent to add to all nodes in the selection. If no node is selected, or no node can be added as parent, this function is disabled.

\epsfig{file=editor/popupmenuleft.eps,height=2.5cm}

Clicking the right mouse button on a node brings up a popup menu.

The popup menu shows list of values that can be set as evidence to selected node. This is only visible when margins are shown (menu Tools/Show margins). By selecting 'Clear', the value of the node is removed and the margins calculated based on CPTs again.

\epsfig{file=editor/pop.r.setevidence.eps,height=6cm}

A node can be renamed by right click and select Rename in the popup menu. The following dialog appears that allows entering a new node name.

\epsfig{file=editor/dlg.renamenode.eps,height=2.5cm}

The CPT of a node can be edited manually by selecting a node, right click/Edit CPT. A dialog is shown with a table representing the CPT. When a value is edited, the values of the remainder of the table are update in order to ensure that the probabilities add up to 1. It attempts to adjust the last column first, then goes backward from there.

\epsfig{file=editor/dlg.CPT.eps,height=6cm}
The whole table can be filled with randomly generated distributions by selecting the Randomize button.

The popup menu shows list of parents that can be added to selected node. CPT for the node is updated by making copies for each value of the new parent.

\epsfig{file=editor/pop.r.addparent.eps,height=6cm}

The popup menu shows list of parents that can be deleted from selected node. CPT of the node keeps only the one conditioned on the first value of the parent node.

\epsfig{file=editor/pop.r.delparent.eps,height=6cm}

The popup menu shows list of children that can be deleted from selected node. CPT of the child node keeps only the one conditioned on the first value of the parent node.

\epsfig{file=editor/pop.r.delchild.eps,height=6cm}

Selecting the Add Value from the popup menu brings up this dialog, in which the name of the new value for the node can be specified. The distribution for the node assign zero probability to the value. Child node CPTs are updated by copying distributions conditioned on the new value.

\epsfig{file=editor/dlg.addvalue.eps,height=2.5cm}

The popup menu shows list of values that can be renamed for selected node.

\epsfig{file=editor/pop.r.renvalue.eps,height=6cm}

Selecting a value brings up the following dialog in which a new name can be specified.

\epsfig{file=editor/dlg.renamevalue.eps,height=2.5cm}

The popup menu shows list of values that can be deleted from selected node. This is only active when there are more then two values for the node (single valued nodes do not make much sense). By selecting the value the CPT of the node is updated in order to ensure that the CPT adds up to unity. The CPTs of children are updated by dropping the distributions conditioned on the value.

\epsfig{file=editor/pop.r.delvalue.eps,height=6cm}


next up previous contents
Next: A note on CPT Up: Bayes Network GUI Previous: Statusbar   Contents
Remco Bouckaert 2008-05-12