Performs the feature-clustering using Odds Ratio methodology. Valid only for bi-class problems.
D2MCS::GenericHeuristic
-> OddsRatioHeuristic
new()
Empty function used to initialize the object arguments in runtime.
OddsRatioHeuristic$new()
heuristic()
Calculates the Odds Ratio method.
OddsRatioHeuristic$heuristic(col1, col2, column.names = NULL)
col1
The object from whom odds ratio will be computed.
col2
column.names
An optional character vector with the names of both columns.
clone()
The objects of this class are cloneable with this method.
OddsRatioHeuristic$clone(deep = FALSE)
deep
Whether to make a deep clone.
Dataset
, odds.ratio