Description Usage Arguments Value
Get hot classes from sample indices.
1 2 | IdxToClass(idx, onehot, f_reduce = NULL, ret.sorted = FALSE,
fast = TRUE, ...)
|
idx |
a vector of sample indices. |
onehot |
a onehot table. |
f_reduce |
function to reduce, if NULL, union is performed. |
ret.sorted |
return sorted classes. |
fast |
whether to use faster algorithm when f_reduce is NULL, result is always sorted in this case. |
... |
arguments passed to f_reduce. |
a vector of classes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.