predict.superlearner: Predict method for SuperLearner object

Description Usage Arguments Details Value Author(s) References See Also

Description

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.

Usage

1
predict.SuperLearner(object, newdata, X = NULL, Y = NULL, ...)

Arguments

object

output from SuperLearner()

newdata

New X values for prediction

X

original data set used to fit object

Y

original outcome used to fit object

...

often helpful to include ...

Details

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).

Value

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

Author(s)

Eric C Polley ecpolley@berkeley.edu

References

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

See Also

SuperLearner


ecpolley/SuperLearner_Old documentation built on May 15, 2019, 10:08 p.m.