write.method.template(file = "", ...)
## a few built in options:
method.NNLS()
method.NNLS2()
method.NNloglik()
method.CC_LS()
method.CC_nloglik()
method.AUC(optim_method = "Nelder-Mead")cat.
optim call method. See optim for details.
cat.
NULL if no additional packages are required
Z, Y, libraryNames, obsWeights, control, verbose. The value is a list with two items: cvRisk and coef. This function computes the coefficients of the super learner. As the super learner minimizes the cross-validated risk, the loss function information is contained in this function as well as the model to combine the algorithms in SL.library.
predY, coef, control. The value is a numeric vector with the super learner predicted values.
SuperLearner method must be a list (or a function to create a list) with exactly 3 elements. The 3 elements must be named require, computeCoef and computePred.
SuperLearner
write.method.template(file = '')
Run the code above in your browser using DataLab