Skip to content

A simple Reinforcement Learning project written in Swift

Notifications You must be signed in to change notification settings

ii0/ReinforcementLearning

 
 

Repository files navigation

Reinforcement Learning

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:

Visual representation

  1. Green color represents Q-value
  2. Red color represents failure node
  3. Goal is to reach top-right corner

Please see the following files for more information:

  1. QLearning.swift
  2. AISolver.swift

About

A simple Reinforcement Learning project written in Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%