QLearning
Basic Q-learning.
Example XML definition
A simple example
<module class = "QLearning" name = "QLearning" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "QLearning". | string | |
name | The name of this instance of the module. | string | |
horizon | Time horizon | choices: infinite finite | 0 |
alpha | Learning rate | float | 0.1 |
gamma | Discount factor | float | 0.9 |
epsilon | Selection parameter | float | 0.0 |
initial | Initial weights | float | 0.1 |
Module Connections
Inputs
Name | Description |
---|---|
STATE | Sensory input |
REINFORCEMENT | Current reinforcement |
Outputs
Name | Description |
---|---|
ACTION | Selected action |
VALUE | Global value |
Limitations
It should be possible to turn off the automatic movement of the agent from goal to start locations.
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
QLearning.h
QLearning.cc
QLearning.ikc