Description Usage Arguments Value
Worker function for fitting prediction functions (possibly in parallel)
1 2 | .getPredictions(learner, Y, X, K = 10, folds, parallel,
nested_cv = FALSE, nested_K = K - 1)
|
learner |
The wrapper to use |
Y |
The outcome |
X |
The predictors |
K |
The number of folds |
parallel |
Whether to compute things in parallel using future |
A list of the result of the wrapper executed in each fold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.