Description Usage Arguments Value
This function will generate class prediction probabilities on a dataset from a list of classifiers using a specified resampling method.
1 | predict_ensemble(x, y, classifiers, v = 10L)
|
x |
A matrix with observations as rows and features as columns. |
y |
A vector of 0/1 response classes |
classifiers |
A list of classifier functions. Each function
should be of the form |
v |
For k-fold cross-validation, use an integer to specify the
number of folds. For instance, |
A three-dimensional array containing class prediction
probabilities. Its dimesions are as (observation, class,
classifier). The last entry on the third dimension is "AVE",
the predictions for the ensemble classifier.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.