BaggedBEST {BESTree} | R Documentation |
Performs Bootstrap Aggregating of BEST trees
Description
Performs Bootstrap Aggregating of BEST trees
Usage
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
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)
[Package BESTree version 0.5.2 Index]