In this exercise we will perform some further inference tasks with a Bayesian network.

Prerequisites

1 - Bayes Server

Bayes Server must be installed, before starting this walkthrough.

Note

An evaluation version can be downloaded from the Bayes Server website.

2 - The Bayesian network 'Identification Extended'

This network is available, from either:

  1. The SampleNetworks folder, that is packaged with the course help

  2. By working through Exercise - construction.

Open the Bayesian network

  1. Launch Bayes Server and open the Bayesian network IdentificationExtended.bayes located in the SampleNetworks folder, that is packaged with the course help.

    Note

    Alternatively the Bayesian network can be constructed manually in Exercise - construction.

  2. Use the keyboard shortcut F6 to add queries for all nodes.

Log likelihood

  1. Click the check box next to Gender=Female, to set evidence.

  2. Click the check box in the Height node, to set evidence. This will launch the Continuous evidence window.

  3. Enter the value 190, and click the Ok button.

    The Bayesian network should look like this:

    Exercise InferenceIIEvidence Gender Height
  4. Click the Log likelihood button on the Query tab on the main network toolbar.

    This will launch the Log likelihood window, as shown below.

    Exercise InferenceIILog Likelihood

Conflict

  • Click the Conflict button on the Query tab on the main network toolbar.

    This will launch the Conflict window, as shown below.

    Tip

    Positive values indicate an increasing chance of conflict or a rare case.

    Exercise InferenceIIConflict

Retract evidence

  • Turn the Retract evidence toggle button to on. This button is located on the Query tab on the main ribbon toolbar.

    The main window should look similar to this:

    Exercise InferenceIIRetract Evidence

Most probable explanation

  1. Turn the Retract evidence toggle button to off.

  2. Click the check box on the Weight node to set evidence.

    Enter the value 90 in the Continuous evidence window.

    Click Ok.

  3. Turn the Most probable toggle button to on. This button is located on the Query tab on the main ribbon toolbar.

    The Bayesian network should look like this:

    Exercise InferenceIIMost Probable