public class FayyadDiscretizer extends Discretizer
This class implements the Fayyad discretizer.
classOfInstances, cutPoints, iClassIndex, realAttributes, realValues
Constructor and Description |
---|
FayyadDiscretizer() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector |
discretizeAttribute(int attribute,
int[] values,
int begin,
int end)
It returns a vector with the discretized values.
|
double |
log2(double value)
Calculate the log base 2 of a number
|
applyDiscretization, buildCutPoints, discretize, getCutPoint, getNumIntervals, sortValues
protected java.util.Vector discretizeAttribute(int attribute, int[] values, int begin, int end)
It returns a vector with the discretized values.
discretizeAttribute
in class Discretizer
attribute
- values
- begin
- end
- public double log2(double value)
Calculate the log base 2 of a number
value
- Number to apply log base2