Description Usage Arguments Value
The updateQRL
function will take in the action an agent performs and
update either Q$R
or Q$L
as appropriate.
1 |
state |
The state the agent is currently in. |
action |
The action (right or left) an agent performs. |
alpha |
The learning rate alpha. |
gamma |
The temporal discounting factor gamma. |
Updated Q$R
or Q$L
values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.