Description Usage Arguments Value
This function creates a list of otherArgs used by each online algorithm by
calling learner.init for each learner in SL.library
.
1 2 | initialWt_Vfold(Y, X, SL.library, V = 5, lossFn, ensembleControl,
initialHessian = FALSE)
|
Y |
The outcome vector, usually of length |
X |
The data.frame of predictors, with |
SL.library |
The K length character vector of wrappers for candidate online learners. |
V |
The number of folds for V-fold cross validation, defaults to 5 |
lossFn |
The loss function used by the super learner |
ensembleControl |
The list of controls for the ensemble method. The
function uses |
hessian |
Boolean of whether to return the estimated Hessian at the
solution of the |
dsl The name of the algorithm from SL.library
that was the
discrete super learner.
alpha A K-length vector of initial weight estimates for the super learner
otherWtArgs A list with entry hessian
containing the estimated
hessian (set to null if initialHessian = FALSE
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.