Question: in julia code (50 points) Q-learning. Implement Q-learning (off-policy TD control) for the cliff walking problem of example 6.6 on page 132 . Show that
(50 points) Q-learning. Implement Q-learning (off-policy TD control) for the cliff walking problem of example 6.6 on page 132 . Show that the policy that you obtain matches the (red) policy shown in example 6.6. That is to say, the path that goes right next to the cliff. You do not need to recreate the upper figure on page 132. You only need to show that your policy matches. For example, in my implementation, 1= up, 2= down, 3= right, 4= left. 1 simply print out the policy as a 4 by 12 matrix and then it is easy to see the path from the start to the goal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
