OddsRatioHeuristic: Feature-clustering based on Odds Ratio measure.

OddsRatioHeuristicR Documentation

Feature-clustering based on Odds Ratio measure.

Description

Performs the feature-clustering using Odds Ratio methodology. Valid only for bi-class problems.

Super class

D2MCS::GenericHeuristic -> OddsRatioHeuristic

Methods

Public methods


Method new()

Empty function used to initialize the object arguments in runtime.

Usage
OddsRatioHeuristic$new()

Method heuristic()

Calculates the Odds Ratio method.

Usage
OddsRatioHeuristic$heuristic(col1, col2, column.names = NULL)
Arguments
col1

The object from whom odds ratio will be computed.

col2

A second factor or numeric object.

column.names

An optional character vector with the names of both columns.

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
OddsRatioHeuristic$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Dataset, odds.ratio


D2MCS documentation built on Aug. 23, 2022, 5:07 p.m.