predict.onlinesl: Predict method for onlinesl objects

Description Usage Arguments Value

Description

This function computes the ensemble prediction for the online super learner.

Usage

1
2
3
## S3 method for class 'onlinesl'
predict(object, newdata, X = NULL, Y = NULL,
  onlySL = FALSE, ...)

Arguments

object

An object of class onlinesl

newdata

A data.frame object on which to obtain new predictions.

X

Not sure yet

Y

Not sure yet

onlySL

Return predictions only for algorithms with non-zero weight in the online super learner?

Value

pred The continuous online super learner predictions

library.predict The predictions from each candidate online algorithm


benkeser/onlinesl documentation built on May 12, 2019, 12:09 p.m.