This is a simple Reinforcement Learning project written in Swift.
Basically, it navigates around a grid to find the goal (without knowing it before hand). Then it constructs an optimal path to the goal using model free reinforcement learning.
Here's a visual representation:
- Green color represents Q-value
- Red color represents failure node
- Goal is to reach top-right corner
Please see the following files for more information: