Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS Class Reference

Inheritance diagram for kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS:

kddml.Operators.Preprocessing.PreprocessingSettings kddml.Operators.OperatorSettings List of all members.

Public Member Functions

String[] listAttributes ()
Boolean isRequired (String attribute_name)
Boolean isFixed (String attribute_name)
String getDefaultAttributeValue (String attribute_name)
KDDMLScalarType getAttributeType (String attribute_name)

Detailed Description

A categoric discretization of an attribute with respect to a hierarchy is performed. Given a nonnumeric attribute of the input preprocessing table, a concept hierarchy related to the attribute values, and an integer representing the hierarchy level, the operator returns a new table containing generalized values for that attribute. The mapping between attribute values and leaf values of the hierarchy is by name.
If the attribute value is found in a leaf of the hierarchy, then the generalized node value is computed at the specified level. In this case, the old attribute value is replaced with the generalized item that has been found.
If some value cannot be found in the hierarchy leaves or if the generalization cannot be computed, then the attribute is set with a missing value for that instance. Also the correspondent preprocessing information is marked with the exception no hierarchy generalization. Obviously, the level of the hierarchy must be compatible with the depth of the hierarchy in order to compute the generalization.
Attributes:

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)

Sandra Zimei

Version:
2.0.16


Member Function Documentation

String [] kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS.listAttributes  )  [virtual]
 

Returns the list of attributes belonging to the operator specification.

Returns:
String[]

Implements kddml.Operators.OperatorSettings.

Boolean kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS.isRequired String  attribute_name  )  [virtual]
 

Returns true if a given attribute is required in the operator specification. Returns false if the attribute is implied or fixed. Finally, the method returns null if the attribute name do not belong to the list of attributes returned by the method listAttributes().

Parameters:
attribute_name String
Returns:
boolean

Implements kddml.Operators.OperatorSettings.

Boolean kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS.isFixed String  attribute_name  )  [virtual]
 

Returns true if a given attribute is fixed (i.e. constant) in the operator specification. Returns false if the attribute is implied or required. Finally, the method returns null if the attribute name do not belong to the list of attributes returned by the method listAttributes().

Parameters:
attribute_name String
Returns:
boolean

Implements kddml.Operators.OperatorSettings.

String kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS.getDefaultAttributeValue String  attribute_name  )  [virtual]
 

Returns the default value related to a given input attribute. Returns null if the attribute do not admit a default value. An attribute can be given any legal value as a default. The attribute value is not required on each element in the document, but if it is not present, it will appear to be the specified default. If the attribute is implied and it is not included in the element, the operator assumes that this is the attribute value.

Parameters:
attribute_name String
Returns:
String

Implements kddml.Operators.OperatorSettings.

KDDMLScalarType kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS.getAttributeType String  attribute_name  )  [virtual]
 

Returns the type related to a given input attribute. KDDML supports the attribute types as expressed by the class KDDMLScalarType. Returns null if the attribute name do no belong to the list of attributes returned by the method listAttributes().

Parameters:
attribute_name String
Returns:
KDDMLScalarType

Implements kddml.Operators.OperatorSettings.


Generated on Thu Feb 23 13:04:53 2006 for kddml by  doxygen 1.4.3