Performs the feature-clustering using MCC score. Valid for both bi-class and multi-class problems
D2MCS::GenericHeuristic
-> MCCHeuristic
new()
Empty function used to initialize the object arguments in runtime.
MCCHeuristic$new()
heuristic()
Calculates the Matthews correlation Coefficient (MCC) score.
MCCHeuristic$heuristic(col1, col2, column.names = NULL)
col1
A numeric vector or matrix required to perform the clustering operation.
col2
A numeric vector or matrix to perform the clustering operation.
column.names
An optional character vector with the names of both columns.
clone()
The objects of this class are cloneable with this method.
MCCHeuristic$clone(deep = FALSE)
deep
Whether to make a deep clone.
Dataset
, mccr