predict.OnlineSuperLearner: predict.OnlineSuperLearner

Description Usage Arguments Value

Description

S3 prediction function for the online superlearner package. Can be used to perform a prediction on the trained online superlearner object.

Usage

1
2
## S3 method for class 'OnlineSuperLearner'
predict(object, newdata, Y = NULL, ...)

Arguments

object

OnlineSuperLearner trained instance of an online superlearner class.

newdata

the new data to perform the prediction with. Note that this can be a data.frame, after which we will generate blocks based on the measurements in the data, or a Data.Base, which _should_ already include all necessary variables.

Y

the dependent variables for which we want to predict the outcome. The parameter is allowed to take several forms: - List of RelevantVariable objects to predict - Single RelevantVariable object to predict - List of strings with the names of the outputs (list('X','Y')) - Single string with the name of the output ('Y')

...

other parameters directly passed to the predict function

Value

list a list of estimator entries, each of which has a data.table of corresponding predicted probabilities.


frbl/OnlineSuperLearner documentation built on Feb. 9, 2020, 9:28 p.m.