Description Usage Arguments Value See Also Examples
Greedy()
is a utility function that returns action indexes of maximal values.
1 | Greedy(values)
|
values |
a numeric vector or matrix for values of actions. For numeric vector, it is values of all actions; for numeric matrix, each row is a set of values. |
an integer vector for chosen action indexes
Other value-based action functions:
EpsilonGreedy()
,
Gibbs()
,
Random()
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.