Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.Preprocessing.InstanceLevelIndependentTransformation Class Reference

Inheritance diagram for kddml.Operators.Preprocessing.InstanceLevelIndependentTransformation:

kddml.Operators.Preprocessing.PreprocessingResolver kddml.Operators.OperatorResolver kddml.Operators.HWResourcesDescription kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_RESOLVER kddml.Operators.Preprocessing.PP_MARKING_RESOLVER kddml.Operators.Preprocessing.PP_REMOVE_ROWS_RESOLVER List of all members.

Public Member Functions

KDDMLObject execute (Hashtable< String, KDDMLScalarManager > settings, Vector< KDDMLObject > arguments) throws ResolverException, KDDMLCoreException
boolean highDiskAccessIsNeeded ()

Protected Member Functions

abstract Instance[] runCore (Instance tupla, Instance metatupla) throws ResolverException, KDDMLCoreException

Detailed Description

Preprocessing operators performing an input data scan that is independent on the values assumed by all other instances (e.g. PP_NORMALIZATION, PP_REMOVE_ROWS). This class of operators is not main-memory and they can work on a single instance at once. The operator only reads a block of instances, computes the new tuples and forgets the block again; that is, at each point in time only a small sub-set of the database is in main memory. Data schemata do not change.

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

KDDMLObject kddml.Operators.Preprocessing.InstanceLevelIndependentTransformation.execute Hashtable< String, KDDMLScalarManager settings,
Vector< KDDMLObject arguments
throws ResolverException, KDDMLCoreException [virtual]
 

Returns the result of evaluating the operator over the passed arguments and attributes.
Attributes are given as hashtable, where the key is the name of the XML attribute related to the operator and the value is a KDDMLScalar object containing the attribute value. Attribute value is checked by the interpreter layer and it is correct.
Arguments are given as vector of KDDMLOjbect. Types of arguments are correct, as required by the getArgumentType(int i) method.
Implementations of the execute method can be distinguished according to the type of operator.

Parameters:
settings Hashtable the attributes related to the operator. The key of the hashtable is the name of the attribute. The value of the hashtable is a KDDMLScalar representing the value of the attribute.
arguments Vector the list of arguments as KDDMLObject.
Returns:
KDDMLObject the result of evaluating the operator.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implements kddml.Operators.OperatorResolver.

abstract Instance [] kddml.Operators.Preprocessing.InstanceLevelIndependentTransformation.runCore Instance  tupla,
Instance  metatupla
throws ResolverException, KDDMLCoreException [protected, pure virtual]
 

Core operator method. Given a physical instance and the related preprocessing tuple as weka.core.Instance, the operator returns the modified instances as two-dimensional array.

Parameters:
tupla Instance the physical instance on wich the operator works.
metatupla Instance the preprocessing instance on wich the operator works.
Returns:
Instance[] a two-dimensional array containing the calculated output instance. The first element contains the physical instaces; the second element contains the related preprocessing instances.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implemented in kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_RESOLVER, kddml.Operators.Preprocessing.PP_MARKING_RESOLVER, and kddml.Operators.Preprocessing.PP_REMOVE_ROWS_RESOLVER.

boolean kddml.Operators.Preprocessing.InstanceLevelIndependentTransformation.highDiskAccessIsNeeded  ) 
 

Returns true if the operator performes a high number of I/O operation to the hard disk.

Returns:
boolean default returns false.

Reimplemented from kddml.Operators.OperatorResolver.


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