gain {gcl}R Documentation

Computes information theoretic gain

Description

A function that computes the information theoretic gain.

Usage

gain(a, b)

Arguments

a attribute values
b attribute values

Value

Returns the gain.

Author(s)

Staal A. Vinterbo staal@dsg.harvard.edu

See Also

gainr

Examples

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

[Package gcl version 1.06.5 Index]