replayExperience {ReinforcementLearning} | R Documentation |
Performs experience replay
Description
Performs experience replay. Experience replay allows reinforcement learning agents to remember and reuse experiences from the past. The algorithm requires input data in the form of sample sequences consisting of states, actions and rewards. The result of the learning process is a state-action table Q that allows one to infer the best possible action in each state.
Usage
replayExperience(D, Q, control, ...)
Arguments
D |
A |
Q |
Existing state-action table of type |
control |
Control parameters defining the behavior of the agent. |
... |
Additional parameters passed to function. |
Value
Returns an object of class hash
that contains the learned Q-table.
References
Lin (1992). "Self-Improving Reactive Agents Based on Reinforcement Learning, Planning and Teaching", Machine Learning (8:3), pp. 293–321.
Watkins (1992). "Q-learning". Machine Learning (8:3), pp. 279–292.