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