public class HDD extends Discretizer
This class implements the HDD discretizer.
classOfInstances, cutPoints, iClassIndex, realAttributes, realValues
Constructor and Description |
---|
HDD(double _coefficient)
Builder
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector |
discretizeAttribute(int attribute,
int[] values,
int begin,
int end)
This abstract method creates the cut points of the attribute given using
its values for each instances given.
|
applyDiscretization, buildCutPoints, discretize, getCutPoint, getNumIntervals, sortValues
public HDD(double _coefficient)
_coefficient
- R coefficient used by HDD discretizer.protected java.util.Vector discretizeAttribute(int attribute, int[] values, int begin, int end)
Discretizer
discretizeAttribute
in class Discretizer
attribute
- given attribute to discretize.values
- given attribute values in the dataset.begin
- First position of the section to discretize.end
- Last position of the section to discretize.