Question: Consider a Q - learning agent, in a world containing actions { T rain, Rest } and states { W eekday, W eekend } .

Consider a Q-learning agent, in a world containing actions {T rain, Rest} and states {W eekday, W eekend}. Suppose the Q-values are currently, at time t, as follows.
Q[W eekday, T rain]=8, Q[W eekday, Rest]=10
Q[W eekend, T rain]=15, Q[W eekend, Rest]=4
Assume learning rate \alpha =0.1 and discount \gamma =0.95. Suppose that at time t the agent is in state W eekday.
i. If the agent uses \epsi -greedy exploration with \epsi =0.01, what is the probability of choosing action T rain? [1]
ii. Suppose instead that the agent uses softmax action selection with \tau =0.9. What is the probability of choosing action T rain? [2]
iii. IfattimettheagentperformsactionTrain,receivesreward15andendsinstate W eekday, how is the table of Q-values updated using Q-learning? [2]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!