GainRatioHeuristic | R Documentation |
Performs the feature-clustering using entropy-based filters.
D2MCS::GenericHeuristic
-> GainRatioHeuristic
new()
Empty function used to initialize the object arguments in runtime.
GainRatioHeuristic$new()
heuristic()
The algorithms find weights of discrete attributes basing on their correlation with continuous class attribute.
GainRatioHeuristic$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.
A numeric vector of length 1 or NA if an error occurs.
clone()
The objects of this class are cloneable with this method.
GainRatioHeuristic$clone(deep = FALSE)
deep
Whether to make a deep clone.
Dataset
, gain.ratio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.