[SOLVED] CECS451 Assignment 5

35.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

General Instruction

  • Submit your work in the Dropbox folder via BeachBoard (Not email or in class).
  1. (10 points) Test a Bayesian network tool on your workstation.
  2. Find bayes.jar and run it on your workstation. ii. Create nodes and edges to represent Figure 1.

iii. Set the CPT (conditional probability table) to represent Figure 2. iv. Save the result as Assn5.xml and submit it.

  1. Write answers the following questions. (pdf file submission)
    • (2 points) P~(Visit to Asia | dyspnoea)
    • (2 points) P~(Tuberculosis | positive X-ray, ¬dyspnoea)
    • (2 points) P(bronchitis |¬lung cancer)
    • (2 points) P(¬lung cancer | tuberculosis, ¬dyspnoea)
    • (2 points) P~(Smoking |¬positive X-ray, bronchitis, ¬visit to asia)

Figure 1: A network for tuberculosis and lung cancer.

CECS 451                                       Assignment 5 – Page 2 of 2

Figure 2: A CPT for tuberculosis and lung cancer.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.