Question: 1 . C - Policy Evaluation for Random Policy We will now perform policy evaluation for the random policy. Perform the following steps in the

1.C - Policy Evaluation for Random Policy
We will now perform policy evaluation for the random policy. Perform the following steps in the cell below:
Create an instance of DPAgent. Provide the agent with the environmnet from Step 1.A and the policy from Step 1.B. Set a discount rate of 1.0.
Call the policy evaluation method of the DPAgent instance, using the default parameter values.
Call the display_values() method of the environment, passing it the state-value dictionary calculated by the agent.

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 Programming Questions!