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)col1The object from whom odds ratio will be computed.
col2
column.namesAn optional character vector with the names of both columns.
clone()The objects of this class are cloneable with this method.
OddsRatioHeuristic$clone(deep = FALSE)deepWhether to make a deep clone.
Dataset, odds.ratio