gainr {gcl}R Documentation

Computes information theoretic gain ratio

Description

A function that computes the information theoretic gain ratio.

Usage

gainr(a, b)

Arguments

a attribute values
b attribute values

Value

Returns the gain ratio.

Author(s)

Staal A. Vinterbo staal@dsg.harvard.edu

See Also

gain

Examples

a <- round(runif(10))
b <- round(runif(10))
gain(a,b)

[Package gcl version 1.06.5 Index]