InformationGainHeuristic {D2MCS} | R Documentation |
Feature-clustering based on InformationGain methodology.
Description
Performs the feature-clustering using entropy-based filters.
Super class
D2MCS::GenericHeuristic
-> InformationGainHeuristic
Methods
Public methods
Method new()
Empty function used to initialize the object arguments in runtime.
Usage
InformationGainHeuristic$new()
Method heuristic()
The algorithm find weights of discrete attributes basing on
their correlation with continuous class attribute. Particularly
Information Gain uses H(Class) + H(Attribute) - H(Class, Attribute)
Usage
InformationGainHeuristic$heuristic(col1, col2, column.names = NULL)
Arguments
Returns
A numeric vector of length 1 or NA if an error occurs.
Method clone()
The objects of this class are cloneable with this method.
Usage
InformationGainHeuristic$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
[Package D2MCS version 1.0.1 Index]