bestSplit: bestSplit function

Description Usage Arguments Value Examples

View source: R/bestSplit.R

Description

This function makes splits among columns, computes the Gini index for a specific split and selects the column with the lowest GINI Index.

Usage

1

Arguments

z

database, where the last column is the dependent variable

Value

list with a data.frame called base, the best (i.e. lowest) Gini Index, the value at which the split was made and the variable corresponding to the best split

Examples

1

ernesto3141/treeClass documentation built on Nov. 4, 2019, 11:57 a.m.