Performs feature-clustering based on ChiSquare method.
D2MCS::GenericHeuristic
-> ChiSquareHeuristic
new()
Empty function used to initialize the object arguments in runtime.
ChiSquareHeuristic$new()
heuristic()
Functions responsible of performing the ChiSquare feature-clustering operation.
ChiSquareHeuristic$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.
ChiSquareHeuristic$clone(deep = FALSE)
deep
Whether to make a deep clone.
Dataset
, chisq.test