An open API service indexing awesome lists of open source software.

https://github.com/freakwill/qlearning-matlab

implement Qlearning by Matlab
https://github.com/freakwill/qlearning-matlab

matlab qlearning

Last synced: about 2 months ago
JSON representation

implement Qlearning by Matlab

Awesome Lists containing this project

README

          

# Qlearning-Matlab
Implement Q-learning by Matlab.

## +rl

`Env`: the base class of Environment

`Agent`: the base class of agents

`QAgent`: the base class of agents for Q-learning

Recommended to inherit from `QAgent`. See `MyQAgent` as an example.

## Example

maze.m

story: a robot with 10 power tries to find its heaven that is far from it. It has to get the resource first! Come bro! Here we go.

note: the dashline is the direction of moving.

![screenshot.png](/Users/william/Programming/myGithub/Qlearning-Matlab/screenshot.png)

## Lines

Tools for drawing.