In this exercise we will unroll a Dynamic 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 'HiddenMarkovModel' available from the SampleNetworks folder, that is packaged with the course help.

Open the Bayesian network

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

Unrolling

  1. Use the keyboard shortcut F6 to add queries for all nodes. This will launch the Series Query window.

  2. Set the min time to 0, and the min time type to Absolute.

  3. Set the max time to 4, and the max time type to Absolute.

    The Series query window should look like this:

    Exercise Unrolling Series Query
  4. Click the Ok button on the Series Query window, to add the queries.

  5. Ensure that the Unroll slice count textbox contains the value 5. This is located next to the Unroll button on the Network tab of the main ribbon toolbar.

  6. Click the Unroll button on the Network tab of the main ribbon toolbar.

  7. Select all the nodes in the new unrolled Bayesian network using the keyboard shortcut Ctrl+A.

  8. Click the ellipse (...) button on one of nodes in the new unrolled Bayesian network, to resize the nodes.

  9. Use the keyboard shortcut F6 to query all nodes.

    The unrolled Bayesian network should look like this:

    Exercise Unrolling Unrolled
  10. Now compare the queries (predictions) in the original Bayesian network, and the unrolled Bayesian network, to confirm they are identical.