BuildModel: Builds a single decision tree using rotation forest...

Description Usage Arguments Value

View source: R/RotationForest.R

Description

BuildModel builds one decision tree with a data frame of dependent and response vectors. It also requires the number of predictor variables to use in each rotation as well as the fraction of data points to use in each ensemble model (default = 0.75).

Usage

1
BuildModel(dependent, response, npredictor, frac = 0.75, ...)

Arguments

dependent

a data frame of x dependent vectors

response

a data frame of y response values

npredictor

the number of predictor variables to use in each rotation

frac

the fraction of data points to use in each ensemble model

...

additional arguments to pass to the rpart function

Value

A list containing the rpart object and rotation matrix


mananshah99/rotationforest documentation built on May 21, 2019, 11:23 a.m.