fs_ig {daltoolboxdp} | R Documentation |
Information Gain
Description
Information Gain is a feature selection technique based on information theory. It measures the information obtained for the target variable by knowing the presence or absence of a feature. It wraps the FSelector library.
Usage
fs_ig(attribute)
Arguments
attribute |
The target variable. |
Value
A fs_ig
object.
Examples
data(iris)
myfeature <- daltoolbox::fit(fs_ig("Species"), iris)
data <- daltoolbox::transform(myfeature, iris)
head(data)
[Package daltoolboxdp version 1.0.767 Index]