Description Usage Arguments Value
View source: R/makePredictions.R
A parallelized for-loop that goes through each estimator in the given ensemble and collects its predictions in for each row of the given data.
1 | makePredictions(estimators, newdata, .parallel = FALSE)
|
estimators |
a list of functions which take a single (mandatory) argument and returns class label. |
newdata |
the data to feed to each estimator in |
.parallel |
a boolean indicating if the predictions should happen in
parallel through |
a matrix of predicted responses (either numeric or character, if predictions
are factor variables). The columns corresponds to rows in newdata
so
that class-prediction aggregation can be done more effeciently.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.