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

in julia code
in julia code (50 points) Q-learning. Implement Q-learning (off-policy TD control) for

(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

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!