View source: R/valuefunction.R
makeValueFunction | R Documentation |
A representation of the value function.
makeValueFunction(class, 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
value function accordingly.
ValueTable
ValueNetwork
val = makeValueFunction("table", n.states = 16L, n.actions = 4L) # If the number of states and actions is not supplied, the agent will try # to figure these out from the environment object during interaction. val = makeValueFunction("table")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.