Inheritance diagram for kddml.Operators.Preprocessing.DiscretizationAlgorithms.DiscretizationAlgorithmResolverTask:
Public Member Functions | |
Object[] | discretize (Double[] values) throws ResolverException |
boolean | isNumericLabeling () |
void | readDiscretizationAttributeStatistics (NumericalStatisticManager stat) throws ResolverException, KDDMLCoreException |
Title: KDDML
Description: Knowledge Discovery in Database Environment
Copyright: Copyright (c) 2003-2005
Company: Universita' di Pisa - Dipartimento di Informatica
|
Main method that discretizes the input values related to an attribute. Input values are given as array of Doubles where missing values are represented as null objects. The operator returns the discretized values as array, where missing values are represented as null object. The order in wich values appear in the arrays corresponds to the order in wich they appear in the preprocessing table. So, the size of the input and output array is equal to the total number of instances. According to the labeling technique, the result of a discretization process can be either numeric (e.g. the mean of the bin) or nominal (e.g. a labels used to replace each instance value belonging to the bin). In the first case, the method returs an array of Double objects. Otherwise, it returns an array of String objects.
Implemented in kddml.Operators.Preprocessing.DiscretizationAlgorithms.EQUAL_FREQUENCY_DISCRETIZATION_RESOLVER, and kddml.Operators.Preprocessing.DiscretizationAlgorithms.NATURAL_BINNING_DISCRETIZATION_RESOLVER. |
|
Specifies the type of labeling to be used. Return true if the result of the discretization process is numeric (e.g. the mean of the bin). Returns false if the result of the discretization process is nominal (e.g. a labels used to replace each instance value belonging to the bin).
Implemented in kddml.Operators.Preprocessing.DiscretizationAlgorithms.EQUAL_FREQUENCY_DISCRETIZATION_RESOLVER, and kddml.Operators.Preprocessing.DiscretizationAlgorithms.NATURAL_BINNING_DISCRETIZATION_RESOLVER. |
|
Reads the data statistics related to the input discretization attribute. Data statistic can be used to provide additional information to preprocessing algorithm, such as the minimum and maximum value of the attribute.
Implemented in kddml.Operators.Preprocessing.DiscretizationAlgorithms.EQUAL_FREQUENCY_DISCRETIZATION_RESOLVER, and kddml.Operators.Preprocessing.DiscretizationAlgorithms.NATURAL_BINNING_DISCRETIZATION_RESOLVER. |