Description Usage Arguments Value
Create input list for get_sl
1 2 | get_sl_input(split_Y, Yname, valid_folds, V, all_fit_tasks, all_fits,
learners)
|
split_Y |
The outcome matrix split by relevant validation folds. |
Yname |
The names of the outcomes. Used to search |
valid_folds |
If not |
V |
Number of folds. |
all_fit_tasks |
List of all learner fit tasks (faster to search over than search over all_fits). |
all_fits |
List of all learner fits. |
learners |
Vector of super learner vectors. |
List with each entry a list with entries: valid_fold (the number of the
corresponding fold), Y (univariate outcome in this validation fold), pred (matrix
of outcome predictions for this validation fold from learners fit in
training folds). The length of the list varies according to what is input into
valid_folds
so that this function may be used both in the outer and inner
layers of cross-validation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.