Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.Preprocessing.PP_SAMPLING_RESOLVER Class Reference

Inheritance diagram for kddml.Operators.Preprocessing.PP_SAMPLING_RESOLVER:

kddml.Operators.Preprocessing.PPAlgorithmLoaderResolver kddml.Operators.AlgorithmLoaderResolver kddml.Operators.OperatorResolver kddml.Operators.HWResourcesDescription List of all members.

Public Member Functions

KDDMLObject execute (Hashtable< String, KDDMLScalarManager > settings, Vector< KDDMLObject > arguments) throws ResolverException, KDDMLCoreException
KDDMLObjectType getArgumentType (int i)

Detailed Description

Data sampling techniques can be used to obtain a reduced representation of the data set, such that it is a much smaller random sample, yet closely maintaining the integrity of the original data. The operator takes a preprocessing table and a sampling method, and returns a new preprocessing table whose instances have been selected according to the specified procedure. There are many methods for data sampling, each of them expressed using the XML element ALGORITHM.
PP_SAMPLING_RESOLVER is an instance level dependent operators and it requires all instances loaded in main memory (i.e. the PP_SAMPLING_OPERATOR is based on a main-memory implementation).

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.PP_SAMPLING_RESOLVER.execute Hashtable< String, KDDMLScalarManager settings,
Vector< KDDMLObject arguments
throws ResolverException, KDDMLCoreException [virtual]
 

Overloading of the main execute method. 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.

KDDMLObjectType kddml.Operators.Preprocessing.PP_SAMPLING_RESOLVER.getArgumentType int  i  )  [virtual]
 

Returns the expected type of the i-th argument of the operator. Returns null if the operator do not admit argument as i-th child.

Parameters:
i int
Returns:
KDDMLObjectType

Implements kddml.Operators.OperatorResolver.


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