makePolicy | R Documentation |
Reinforcement learning policies.
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
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.