Description Usage Arguments Details Value Author(s) References See Also
obtains predictions on a new data set from a SuperLearner model fit. May require the original data if one of the library algorithms uses the original data in its predict method.
1 | predict.SuperLearner(object, newdata, X = NULL, Y = NULL, ...)
|
object |
output from |
newdata |
New X values for prediction |
X |
original data set used to fit |
Y |
original outcome used to fit |
... |
often helpful to include ... |
if newdata
is omitted the predicted values from object
are returned. Each algorithm in the Super Learner library needs to have a corresponding prediction function with “predict.” prefixed onto the algorithm name (e.g. predict.SL.glm
for SL.glm
).
fit |
Predicted values for Super Learner |
fit.library |
Predicted values for each algorithm in library |
cand.names |
A list of the algorithms used in the super learner |
Eric C Polley ecpolley@berkeley.edu
van der Laan, M. J., Polley, E. C. and Hubbard, A. E. (2008) Super Learner, Statistical Applications of Genetics and Molecular Biology, 6, article 25. http://www.bepress.com/sagmb/vol6/iss1/art25
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.