Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You go to a Halloween party at a mysterious haunted house. Through exploration, you discover that it has the following characteristics. You can either be
You go to a Halloween party at a mysterious haunted house. Through exploration, you discover
that it has the following characteristics. You can either be scared or not scared, and you can either be
upstairs or downstairs. If you are scared, running up or down the stairs costs you a unit of energy
reward but changes your scared state. If you arent scared, you can run up or down the stairs
with a unit energy cost but also a reward for continuing to not be scared so overall reward
There are more ghosts downstairs than upstairs, so sitting still in a scared state is worse downstairs
reward than upstairs reward If you sit still while you are not scared, a ghost will pop
out and scare you of the time reward Otherwise you will remain happy reward
a Formulate this problem as an MDP for the sake of uniformity, formulate it as a continuing
discounted problem with gamma The rewards are specified in the description. Explicitly
give the state set, action set, transition probabilities and reward expectations Ra
ssexpected
rewards for stateactionnextstate triples as a threeargument function R : Stimes Atimes S R hint:
See equation in Reinforcement Learning Second Edition Sutton and Bartos
b Starting with the policy of running from every state, perform ONE step of policy iteration by
hand This means evaluate the given policy and then do policy improvement ONCE. Show
all steps. What is the resulting policy? Hint: use iterative policy evaluation.
c Explicitly write the Bellman optimality equations for this problem.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started