Entering and retracting evidence

<< Click to Display Table of Contents >>

Navigation:  Using GeNIe > Bayesian networks >

Entering and retracting evidence

Entering observations (evidence) is one of the basic operations on a probabilistic model. It amounts to adjusting the model to a new situation, one in which more information is available. It allows to query the system subsequently about the new, posterior probability distributions. If you have gone through the Building a Bayesian network tutorial introduction, you might remember that you have already entered evidence for the Expert forecast node. Let us go through this again.

You may load the model VentureBN.xdsl created in Building a Bayesian network from the Example Networks folder.

To enter evidence into your model, right-click on the node in question (in the picture below, node Success of the venture) and choose Set Evidence.

entering_evidence

Alternatively, select the node in question and choose Set Evidence submenu from the Node Menu.

node_menu_set_evidence

Yet another way is double-clicking on the observed state in the Bar chart view of the node

tutorial2_bar_chart_evidence

To retract evidence, right-click on the node with previously entered evidence (in the picture below, node Success of the venture) and choose Clear evidence.

clear_evidence

Alternatively, select the node in question and choose Clear evidence from the Node Menu.

node_menu

You can also retract all evidence by choosing Clear all evidence from the Network Menu:

network_menu

To enter different evidence instead of retracting evidence altogether, just set different evidence from the Set Evidence sub-menu.

Entering evidence in continuous/equation nodes invokes a dialog that allows for entering a numerical value:

evidence_continuous

That value is subsequently displayed at the bottom of the Bar Chart view of the node:

evidence_continuous_bar_chart

and can be changed by just double-clicking on that value

evidence_continuous_bar_chart_change

This allows for fairly quick entering and changing of evidence.