Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.Preprocessing.InstanceLevelDependentTransformation Class Reference

Inheritance diagram for kddml.Operators.Preprocessing.InstanceLevelDependentTransformation:

kddml.Operators.Preprocessing.PreprocessingResolver kddml.Operators.OperatorResolver kddml.Operators.HWResourcesDescription kddml.Operators.Preprocessing.PP_MARK_DUPLICATES_RESOLVER kddml.Operators.Preprocessing.PP_SORTING_ATTRIBUTE_RESOLVER kddml.Operators.Preprocessing.PP_MERGE_DUPLICATES_RESOLVER List of all members.

Public Member Functions

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

Protected Member Functions

abstract Instances[] runCore (Instances tuple, Instances metatuple) throws ResolverException, KDDMLCoreException

Detailed Description

Preprocessing operators performing an input data scan that is dependent on the values assumed by all input instances (e.g. PP_SAMPLING, PP_SORTING_ATTRIBUTES). This class of operators is main-memory and they cannot work on a single instance at once, but require the entire dataset loaded in RAM. 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.InstanceLevelDependentTransformation.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 Instances [] kddml.Operators.Preprocessing.InstanceLevelDependentTransformation.runCore Instances  tuple,
Instances  metatuple
throws ResolverException, KDDMLCoreException [protected, pure virtual]
 

Core operator method. Given the physical tuples and the related preprocessing tuples as weka.core.Instances, the operator returns the modified instances as two-dimensional array.

Parameters:
tuple Instances the entire input dataset as weka.core.Instances
metatuple Instances the entire input preprocessing dataset as weka.core.Instances. The number of metatuple coincides with the number of physical tuples.
Returns:
Instances[] a two-dimensional array containing the calculated output instances. The first element contains the physical instaces; the second element contains the related preprocessing instances. Output schema of instances must be compatible with input schemata and the number of ouput instances must coincide with the number of input instances.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implemented in kddml.Operators.Preprocessing.PP_MARK_DUPLICATES_RESOLVER, kddml.Operators.Preprocessing.PP_MERGE_DUPLICATES_RESOLVER, and kddml.Operators.Preprocessing.PP_SORTING_ATTRIBUTE_RESOLVER.

int kddml.Operators.Preprocessing.InstanceLevelDependentTransformation.estimatedRAMUsage  ) 
 

Returns the estimated RAM usage for the operator. Must be a value between 0 and 1024 MB.

Returns:
int default returns 256.

Reimplemented from kddml.Operators.OperatorResolver.

boolean kddml.Operators.Preprocessing.InstanceLevelDependentTransformation.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