View source: R/func_rl_simulate_action.R
rl_action_simulate | R Documentation |
This is a generic function used to simulate an RL agent's action given a specific decision-making policy.
rl_action_simulate(policy, values, ...)
policy |
What policy should a decision be made under? Currently supported are softmax, greedy, and epsilon-greedy. |
values |
A numeric vector containing the current value estimates of each action. |
... |
Additional arguments passed to or from specific methods, such as
|
A number representing which action will be taken given the chosen policy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.