Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Matlab implement a Q-Learning maze solver using the following: *Also the program should be implemented using two loops. The outside loop iterates the maze
Using Matlab implement a Q-Learning maze solver using the following:
*Also the program should be implemented using two loops. The outside loop iterates the maze solver 1000 times and the inside loops runs until the agent reaches the target goal.
Given a grid world with n X n size, let user input the starting position, target, find the short path thorough learning. The inclusion of obstacles in the problem-solving can earn extra credit. - Correct initialization (proper n*n Q-matrix, R matrix or vector, etc. according to your implementation): 3 points - Correct transition function or matrix to get the next state given the current state and the action: 3 points - Correct function or code block for choosing a random and valid action, or similar. 3 points - Implement episode iterations, calculate q value and update q matrix correctly: 6 points - Return the correct path of reaching the goal state given Q matrix : 5 points (this means you need to create a concrete gridworld using your implementation and find the solution) Extra Credit: - Show the update of q matrix every N episodes ( You choose N): 1 points - Set alpha between (0,1): 2 points - Implement a simple GUI which shows the movement of agent or the change of policy: 2 points Given a grid world with n X n size, let user input the starting position, target, find the short path thorough learning. The inclusion of obstacles in the problem-solving can earn extra credit. - Correct initialization (proper n*n Q-matrix, R matrix or vector, etc. according to your implementation): 3 points - Correct transition function or matrix to get the next state given the current state and the action: 3 points - Correct function or code block for choosing a random and valid action, or similar. 3 points - Implement episode iterations, calculate q value and update q matrix correctly: 6 points - Return the correct path of reaching the goal state given Q matrix : 5 points (this means you need to create a concrete gridworld using your implementation and find the solution) Extra Credit: - Show the update of q matrix every N episodes ( You choose N): 1 points - Set alpha between (0,1): 2 points - Implement a simple GUI which shows the movement of agent or the change of policy: 2 pointsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started