enpointe: Random rotation tree

Description Usage Arguments Value

View source: R/pirouette.R

Description

This is the workhorse function of the pirouette package. It splats the dateset and fits an rpart model to it.

Usage

1
2
3
enpointe(x, y, weights = NULL, newdim = 2, prob = 1/sqrt(ncol(x)),
  gbm_control = list(n.trees = 1, interaction.depth = 2, shrinkage = 0.1,
  verbose = FALSE), ...)

Arguments

x

a sparse matrix of x variables

y

the target variable for classification or regression

weights

option case weights

newdim

dimensions to project into

prob

passed to splat

gbm_control

Control arguments to pass to the gbm call. Use 2 trees.

...

passed to rpart

Value

an object of class enpointe


zachmayer/pirouette documentation built on May 4, 2019, 9:04 p.m.