BESTForest {BESTree}R Documentation

Generates a random forest of BEST trees

Description

Generates a random forest of BEST trees

Usage

BESTForest(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 (Random Forest)

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::BESTForest(Data,VA,NoT,Size)

[Package BESTree version 0.5.2 Index]