makeAgent | R Documentation |
An agent consists of a policy and (optional) a value function representation and (optional) a learning algorithm.
makeAgent(policy, val.fun = NULL, algorithm = NULL, preprocess = identity, replay.memory = NULL, policy.args = list(), val.fun.args = list(), algorithm.args = list())
policy |
[ |
val.fun |
[ |
algorithm |
[ |
preprocess |
[ |
replay.memory |
[ |
policy.args |
[ |
val.fun.args |
[ |
algorithm.args |
[ |
agent = makeAgent("softmax", "table", "qlearning")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.