gain {gcl} | R Documentation |
A function that computes the information theoretic gain.
gain(a, b)
a |
attribute values |
b |
attribute values |
Returns the gain.
Staal A. Vinterbo staal@dsg.harvard.edu
a <- round(runif(10)) b <- round(runif(10)) gain(a,b)