public class CACC extends Discretizer
This class implements the CACC discretizer
classOfInstances, cutPoints, iClassIndex, realAttributes, realValues
Constructor and Description |
---|
CACC()
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector |
discretizeAttribute(int attribute,
int[] values,
int begin,
int end)
Returns a vector with the discretized values
|
applyDiscretization, buildCutPoints, discretize, getCutPoint, getNumIntervals, sortValues
protected java.util.Vector discretizeAttribute(int attribute, int[] values, int begin, int end)
Returns a vector with the discretized values
discretizeAttribute
in class Discretizer
attribute
- index of the attribute to discretizevalues
- vector of indexes of the instances sorted from lowest to highest value of attributebegin
- index of the instance with the lowest value of attributeend
- index of the instance with the highest value of attribute