BaggedBEST: Performs Bootstrap Aggregating of BEST trees

Description Usage Arguments Value Examples

View source: R/bestforest.R

Description

Performs Bootstrap Aggregating of BEST trees

Usage

1
BaggedBEST(Data, VA, NoT = 50, Size = 50)

Arguments

Data

A data set (Data Frame): Can take on both numerical and categorical predictors. Last column of the data set must be the Repsonse Variable (Categorical Variables only)

VA

Variable Availability structure

NoT

Number of Trees in the bag

Size

Minimal Number of Observation within a leaf needed for partitionning (default is 50)

Value

A list of BEST Objects

Examples

1
2
3
4
5
6
7
n <- 500
Data <- BESTree::Data[1:n,]
d <- ncol(Data)-1
VA <- ForgeVA(d,1,0,0,0)
Size <- 50
NoT <- 10
Fit <- BESTree::BaggedBEST(Data,VA,NoT,Size)

BESTree documentation built on Aug. 9, 2019, 5:07 p.m.