Question: Assignment Instructions Develop a SARSA agent that is capable of acquiring policies within the openAI Gym Frozen Lake setting. Frozen Lake presents a grid world

Assignment Instructions
Develop a SARSA agent thatis capable of acquiringpolicies within theopenAIGym Frozen Lake setting.Frozen Lake presents a grid world scenario in which the agentis required tonavigate a treacherous frozen surface with perilous holes that could lead to fatal consequences.Procedure* Instantiate the frozen Lake environment with gym. make (Frozen Lake-V1,desc=desc) and use unwrapped method.* The input seed should be used to seed the random number generators for both Gym andNumpy.* Implement SARSA agent using an epsilon greedybehavioralpolicy.* Initialize the agents Q table to zeros* Train your agent with the given parameters. The inputamapis the Frozen Lake map that you need to resize and provide to thedescattribute when you instantiate the environment, gamma is the discount rate, alpha is the learning rate, epsilon is the parameter for epsilon greedybehaviorstrategy yoursarsaagent will use. An action should be selected uniformly at random if a random number is drawn between 0 and 1 is less than epsilon.* Gamma=1.0, Alpha=0.25, Epsilon=0.29, No_of_episodes=14697, seed=741684,amap=["SFFFHFFFFFFFFFFG"]

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!