predict.OnlineSuperLearner.Rd
S3 prediction function for the online superlearner package. Can be used to perform a prediction on the trained online superlearner object.
# S3 method for OnlineSuperLearner predict(object, newdata, Y = NULL, ...)
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 |
Y | the dependent variables for which we want to predict the outcome.
The parameter is allowed to take several forms:
- List of |
... | other parameters directly passed to the predict function |
list
a list of estimator entries, each of which has a
data.table
of corresponding predicted probabilities.