AI agent learning shortest path through maze

Version 1.0.0 (11,3 ko) par Lyes Demri
A very basic example of Reinforcement Learning.
29 téléchargements
Mise à jour 2 sept. 2022

Afficher la licence

This is a very basic example of Reinforcement Learning. I wrote it after reading "How to train your robot" by Craig Buhr. The .m files contain:
*MazeExplorer.m is a simple game where the user must find his/her way out of a very simple maze using the WASD keys
*RandomMazeExplorer.m shows an agent learning to find its way through the same maze.
*MazeExplorerKey.m is the same game as MazeExplorer except you have to find a key before heading towards the exit
*RandomMazeExplorerKey.m shows an agent trying to learn to find the key first before heading towards the exit. The agent fails to do so because it isn't even aware of having the key
*RandomMazeExplorerKeyAware.m shows an agent learning to find a key before heading towards the exit. The agent is now aware of the existence of the key.
I will include any additional information that shall be requested to me.

Citation pour cette source

Lyes Demri (2024). AI agent learning shortest path through maze (https://www.mathworks.com/matlabcentral/fileexchange/117085-ai-agent-learning-shortest-path-through-maze), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0