colGI: Gini index and optimal threshold for columns of scores

Description Usage Arguments Value Examples

View source: R/splitmerits.R

Description

Information gain and optimal threshold for columns of scores

Usage

1

Arguments

scores

A matrix of scores, each column is one variant

y

A logical decision

Value

A matrix of results; cols correspond to variants, rows to respectively GI and optimal threshold

Examples

1
colGI(cbind(iris[,-5],rep(77,150)),iris$Species=='versicolor')

flowforest/flowforest documentation built on April 14, 2020, 4:41 a.m.