Description Usage Arguments Details Value
Process a matrix of class predictions and form a column-wise estimate based on weighted voting.
1 2 3 4 | predictClassFromWeightedVote(preds, weights, .parallel = FALSE,
.rngSeed = 1234)
predictClassFromVote(preds, .parallel = FALSE, .rngSeed = 1234)
|
preds |
is (character) matrix of predicted classes |
weights |
is a vector of length equal to |
.parallel |
is a boolean flag determining whether to work
across columns of |
.rngSeed |
the value of the RNG seed to be used in the case that ties are to be randomly broken. |
Gives the vote from row(i) in preds
weight equal to
weights[i]
. Ties are broken randomly, but before so, the seed is set
to .rngSeed
.
a character vector of length equal to ncol(preds)
containing
the class estimates per column of preds
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.