Description Usage Arguments Details Value Note Author(s) References
This repository implements Q-Learning, a model-free form of reinforcement learning in R.
1 | qlearningaction(q, currentstate, exploration=.5)
|
q
|
Input state/action matrix. |
currentstate
|
Current state of the game. Does not have to match any of the state for q. |
exploration
|
The probability of choosing a random state, rather than the one with the highest EV. Default 0.5. |
For internal use for qlearn.
An action to take, taken from the possible actions of q.
Contact at liam.bressler@yale.edu
Liam Bressler
http://labressler.github.io/analytics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.