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
- Host: GitHub
- URL: https://github.com/freakwill/qlearning-matlab
- Owner: Freakwill
- Created: 2018-06-27T12:54:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-18T13:32:42.000Z (over 6 years ago)
- Last Synced: 2025-10-25T01:43:36.200Z (8 months ago)
- Topics: matlab, qlearning
- Language: MATLAB
- Size: 39.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

## Lines
Tools for drawing.