Learn R Programming

rtemis (version 0.79)

as.boost: as.boost Place model in boost structure

Description

as.boost Place model in boost structure

Usage

as.boost(object, x = NULL, y = NULL, x.valid = NULL,
  y.valid = NULL, learning.rate = 1, init = 0, apply.lr = TRUE,
  tolerance = 1e-05, tolerance.valid = 1e-05)

Arguments

object

rtMod model

x

Data.frame, optional: if provided, use to calculate fitted values of new boost object

y

Float, vector: Outcome

x.valid

Data.frame; optional: Validation data

y.valid

Float, vector; optional: Validation outcome

learning.rate

Float: Learning rate for new boost object. Default = 1

init

Float: Initial value for new boost object. Default = 0

apply.lr

Logical: Only considered is x = NULL. If TRUE, new boost object's fitted values will be object$fitted * learning.rate, otherwise object$fitted

tolerance

Float: error tolerance for new boost object. See boost

tolerance.valid

Float: error tolerance for validation set. See boost