public class UniformWidthDiscretizer extends Discretizer
This class implements the Uniform Width discretizer.
classOfInstances, cutPoints, iClassIndex, realAttributes, realValues
Constructor and Description |
---|
UniformWidthDiscretizer(int _numCP)
Constructor of the class, initializes the numCP attribute
|
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
public UniformWidthDiscretizer(int _numCP)
Constructor of the class, initializes the numCP attribute
_numCP
- number of cutpointsprotected java.util.Vector discretizeAttribute(int attribute, int[] values, int begin, int end)
Returns a vector with the discretized values.
discretizeAttribute
in class Discretizer
attribute
- values
- begin
- not usedend
-