public class MantarasDistDiscretizer extends Discretizer
This is the class with the operations of the Mantaras Distance-Based discretization. It adopts the behavior of the general discretizers and specifies its differences in this class, that has to extend the abstract methods.
classOfInstances, cutPoints, iClassIndex, realAttributes, realValues| Constructor and Description |
|---|
MantarasDistDiscretizer() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Vector |
discretizeAttribute(int attribute,
int[] values,
int begin,
int end)
Selects, for a given attribute, the real values that best discretize the attribute
according to the Distance-Based discretizer by Mantaras
|
applyDiscretization, buildCutPoints, discretize, getCutPoint, getNumIntervals, sortValuesprotected java.util.Vector discretizeAttribute(int attribute,
int[] values,
int begin,
int end)
Selects, for a given attribute, the real values that best discretize the attribute according to the Distance-Based discretizer by Mantaras
discretizeAttribute in class Discretizerattribute - Position of the attribute in the list of attributes whose best real values
for discretization are going to be selectedvalues - Position of the corresponding attribute value in the real values matrix,
ordered by attribute valuebegin - First value that is considered to belong to the data considered, usually 0end - Last value that is considered to belong to the data considered, usually the last
value of the dataset