Description Usage Arguments Value
Create input list for get_y_weight
1 2 | get_y_weight_input(split_Y, Ynames, valid_folds, all_fits, all_sl,
all_fit_tasks, sl_control, V, learners)
|
split_Y |
The outcome matrix split by relevant validation folds. |
Ynames |
The names of the outcomes. Used to search |
valid_folds |
If not |
all_fits |
List of all learner fits. |
all_sl |
List of all super learner weight fits |
all_fit_tasks |
List of all learner fit tasks (faster to search over than search over all_fits). |
sl_control |
List of super learner controls. |
V |
Number of folds. |
learners |
Vector of super learner vectors. |
List with each entry a list with entries: valid_fold (the number of the
corresponding fold), Y (the outcome matrix in this validation fold), pred (matrix
of outcome predictions for this validation fold from the super learner 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.