entropyGain: Entropy Gain of a Categorical Variable

Description Usage Arguments Value Examples

Description

Entropy Gain of a Categorical Variable

Usage

1
entropyGain(target, variable)

Arguments

target

Depedent Variable

variable

Indepedent Variable

Value

Entropy Gain Score

Examples

1
2
3
4
variable=c("A","A","B","A","B","B","B","C","C","C","C","B",
 "B","B","A","A","C","C","C","C")
target = c(1,0,0,0,2,1,1,2,1,2,2,1,1,0,1,2,1,0,2,1)
entropyGain(target,variable)

jkapila/vcvn documentation built on May 19, 2019, 4:05 p.m.