Question: 1 . C - Policy Evaluation for Random Policy We will now perform policy evaluation for the random policy. Perform the following steps in the
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 A and the policy from Step B Set a discount rate of
Call the policy evaluation method of the DPAgent instance, using the default parameter values.
Call the displayvalues method of the environment, passing it the statevalue dictionary calculated by the agent.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
