Bayesian Network, Temporal Models and Markov Decision Process Assignment | Custom Assignment Help

Description

Bayesian Network, Temporal Models and Markov Decision Process

or what state can they be in? For now we will consider only nodes that take discrete
values. The values should be both mutually exclusive and exhaustive, which
means that the variable must take on exactly one of these values at a time. Common
types of discrete nodes include:
• Boolean nodes, which represent propositions, taking the binary values true (T)
and false (F). In a medical diagnosis domain, the node Cancer would represent
the proposition that a patient has cancer.
• Ordered values. For example, a node Pollution might represent a patient’s pollution
exposure and take the values {low, medium, high}.
• Integral values. For example, a node called Age might represent a patient’s age
and have possible values from 1 to 120.
Even at this early stage, modeling choices are being made. For example, an alternative
to representing a patient’s exact age might be to clump patients into different
age groups, such as {baby, child, adolescent, young, middleaged, old}. The trick is to
choose values that represent the domain efficiently, but with enough detail to perform
the reasoning required. More on this later!
TABLE 2.1
Preliminary choices of nodes and
values for the lung cancer example.
Node name Type Values
Pollution Binary {low, high} Smoker Boolean {T, F} Cancer Boolean {T, F} Dyspnoea Boolean {T, F} X-ray Binary {pos, neg}
2This is a modified version of the so-called “Asia” problem Lauritzen and Spiegelhalter, 1988, given
in §2.5.3.
The structure, or topology, of the network should capture qualitative relationships
between variables. In particular, two nodes should be connected directly if one affects
or causes the other, with the arc indicating the direction of the effect. So, in our
medical diagnosis example, we might ask what factors affect a patient’s chance of
having cancer? If the answer is “Pollution and smoking,” then we should add arcs
from Pollution and Smoker to Cancer. Similarly, having cancer will affect the patient’s
breathing and the chances of having a positive X-ray result. So we add arcs
from Cancer to Dyspnoea and XRay. The resultant structure is shown in Figure 2.1.
It is important to note that this is just one possible structure for the problem; we look
at alternative network structures in §2.4.3.
P(X=pos|C)
S P(C=T|P,S)
0.05
0.03
0.02
0.90
0.20
T
F
T
F 0.001
Cancer
Pollution Smoker
XRay Dyspnoea
0.90
P(P=L)
C P(D=T|C)
F 0.30
P
L
L
H
P(S=T)
H
C
T
F
T 0.65
0.30
FIGURE 2.1: A BN for the lung cancer problem.
Structure terminology and layout
In talking about network structure it is useful to employ a family metaphor: a node
is a parent of a child, if there is an arc from the former to the latter. Extending the
The patient has dyspnoea and is not a smoker. If the x-ray comes positive, what is the probability that the patient has
cancer? Use the Bayesian Network above. Show in detail the calculations that take place.
Problem 2 (40 points):
Consider a two-bit register. The register has four possible states: 00, 01, 10 and 11. Initially, at time t = 0, the contents of
the register is chosen at random to be one of these four states, each with equal probability. At each time step, the register
is randomly manipulated as follows: with probability 1/2, the register is left unchanged; with probability 1/4, the two bits
of the register are exchanged (01 becomes 10, 10 becomes 01, 00 becomes 00, and 11 becomes 11 ); and with probability
1/4, the right bit is flipped (example: 01 becomes 00). After the register has been manipulated in this fashion, the left bit is
observed.
Suppose that on the first two time steps (t = 1 and t = 2), we observe the sequence 0, 0. In other terms, the observed bit at
time step t = 1 is 0, and the observed bit at time step t = 2 is also 0.
1. Show how the register can be formulated with a temporal model (Transition model + Observation model): What is
the probability of transitioning from every state to every other state? What is the probability of observing each output
(0 or 1) in each state?
2. Use the forward algorithm (filtering) to determine the probability of being in each state at time t after observing only
the first t bits, for t = 1, 2.
3. Use the forward-backward algorithm (smoothing) to determine the probability of being in each state at time t = 1
given both observed bits.
4. Use the forward algorithm (prediction) to determine the probability of observing 1 in the next time step t = 3.
Problem 3 (30 points):
Consider the Markov Decision Process (MDP) with transition probabilities and reward function as given in the tables below.
Assume the discount factor ! = 1 (i.e., there is no actual discounting).
s a s0 T(s, a, s0)
A 1 A 1
A 1 B 0
A 2 A 0.5
A 2 B 0.5
s a R(s, a)
A 1 0
A 2

My Homework Nest
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Admissions

Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Reviews

Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Reviews

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.