Description Usage Arguments Value See Also Examples
Random()
is a utility function that returns randomly picked action indexes, with
probabilities determined by input values.
1 | Random(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()
,
Greedy()
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.