impurity.idx: A function for computing the impurity of a particular split.

Description Usage Arguments Value Author(s)

Description

A function for computing the impurity of a particular split.

Usage

1
impurity.idx(groups)

Arguments

groups

a 2 element list, where the first element are the samples to the left and the second element the samples to the right of a split.

Value

the gini impurity index.

Author(s)

Eric Bridgeford


ebridge2/badmf documentation built on June 4, 2019, 8:53 a.m.