Learn R Programming

rtemis (version 0.79)

predict.cartLinBoostTV: Predict method for cartLinBoostTV object

Description

Predict method for cartLinBoostTV object

Usage

# S3 method for cartLinBoostTV
predict(object, newdata = NULL,
  n.feat = NCOL(newdata), n.iter = NULL, as.matrix = FALSE,
  verbose = FALSE, n.cores = rtCores, ...)

Arguments

object

cartLinBoostTV object

newdata

Set of predictors

n.feat

Integer: N of features to use. Default = NCOL(newdata)

n.iter

Integer: N of iterations to predict from. Default = (all available)

as.matrix

Logical: If TRUE, return predictions from each iterations. Default = FALSE

verbose

Logical: If TRUE, print messages to console. Default = FALSE

n.cores

Integer: Number of cores to use. Default = rtCores