Description Usage Arguments Value Examples
Choose taken action according to a given state
1 |
policy |
nn |
state |
data.frame or list (usually from the 'state' function) |
... |
optional : additional parameters for limit_FUN |
data.frame of the actions.
1 2 3 | action(neuralnetwork(x+y~a+b, hidden=2),
state(neuralnetwork(x+y~a+b, hidden=2)$formula,
data.frame(x=2, b=5, a=8, y=4)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.