predict.epcreg {EnsemblePCReg}R Documentation

Predict method for class "epcreg"

Description

Obtain model predictions from training or new data for epcreg model.

Usage

## S3 method for class 'epcreg'
predict(object, newdata=NULL, ncores=1
  , preschedule = TRUE, ...)

Arguments

object

Object of class "epcreg", typically the output of function epcreg.

newdata

New data frame to make predictions for. If NULL, prediction is made for training data.

ncores

Number of cores to use for parallel prediction.

preschedule

Boolean flag, indicating whether base learner training jobs must be scheduled statically (TRUE) or dynamically (FALSE).

...

Arguments passed to/from other methods.

Value

A vector of length nrow(newdata) (or of length of training data if newdata==NULL.)

Author(s)

Mansour T.A. Sharabiani, Alireza S. Mahani


[Package EnsemblePCReg version 1.1.4 Index]