predictClassFromWeightedVote(preds, weights, .parallel = FALSE, .rngSeed = 1234)
predictClassFromVote(preds, .parallel = FALSE, .rngSeed = 1234)
nrow(preds)
preds
in parallel -- need to register a
parallel backend (e.g. doParallel
, doRedis
) for this to
actually work.ncol(preds)
containing
the class estimates per column of preds
.
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
.