Description Usage Arguments Value Policies Examples
Reinforcement learning policies.
1 | makePolicy(class = "random", args = list(), ...)
|
class |
[ |
args |
[ |
... |
[ |
[list(name, args)
] List with the name and optional args.
This list can then be passed onto makeAgent, which will construct the
policy accordingly.
RandomPolicy
GreedyPolicy
EpsilonGreedyPolicy
SoftmaxPolicy
1 2 | policy = makePolicy("random")
policy = makePolicy("epsilon.greedy", epsilon = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.