Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.Preprocessing.RewritingAlgorithms.RULE_M_REWRITING_RESOLVER Class Reference

Inheritance diagram for kddml.Operators.Preprocessing.RewritingAlgorithms.RULE_M_REWRITING_RESOLVER:

kddml.Operators.Preprocessing.RewritingAlgorithms.RewritingAlgorithmResolverTask kddml.Operators.Preprocessing.PPAlgorithmResolverTask kddml.Operators.AlgorithmResolverTask List of all members.

Public Member Functions

void readParameters (Hashtable< String, KDDMLScalarManager > parameters) throws ResolverException, KDDMLCoreException
void readStatistics (DataStatisticsManager statistic, DataStatisticsManager PPstatistic) throws ResolverException, KDDMLCoreException
String[] rewrite (String value, String pp_value) throws ResolverException, KDDMLCoreException
String getHistoryDescription ()

Detailed Description

The rule-M method works only on the preprocessing section of the input table and it does not execute any transformation to the data section. In particular, the algorithm marks (i.e., a string is added to preprocessing information) the instance values of the rewriting attribute if the pattern matches the entire attribute value. Notice that the matching procedure is performed on the entire input string value, i.e., the algorithm attempts to match the entire input sequence against the pattern. For example, the regular expression "dog" matches a sub-sequence of the pattern "dogcatdog", but not the entire string. In this example, the matching procedure will return failure.

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

void kddml.Operators.Preprocessing.RewritingAlgorithms.RULE_M_REWRITING_RESOLVER.readParameters Hashtable< String, KDDMLScalarManager parameters  )  throws ResolverException, KDDMLCoreException
 

Reads the XML parameters related to a generic algorithm stored in the ALGORITHM entity. An algorithm settings object captures the parameters associated with a particular algorithm. It allows a knowledgeable user to fine tune algorithm parameters. Generally, not all parameters must be specified, however, those specified are taken into account by the KDDML.
Parameters are given as hashtable, where the key is the name of the parameter related to the algorithm and the value is a KDDMLScalar object containing the parameter value. Parameter value is checked by the interpreter layer and its type is correct.

Parameters:
parameters Hashtable the parameters related to the algorithm. The key of the hashtable is the name of the parameter. The value of the hashtable is a KDDMLScalar representing the value of the parameter.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implements kddml.Operators.AlgorithmResolverTask.

void kddml.Operators.Preprocessing.RewritingAlgorithms.RULE_M_REWRITING_RESOLVER.readStatistics DataStatisticsManager  statistic,
DataStatisticsManager  PPstatistic
throws ResolverException, KDDMLCoreException
 

Reads the data statistics related to the input preprocessing table.

Parameters:
statistic DataStatisticsManager
PPstatistic DataStatisticManager
Exceptions:
ResolverException 
KDDMLCoreException 

Implements kddml.Operators.Preprocessing.RewritingAlgorithms.RewritingAlgorithmResolverTask.

String [] kddml.Operators.Preprocessing.RewritingAlgorithms.RULE_M_REWRITING_RESOLVER.rewrite String  value,
String  pp_value
throws ResolverException, KDDMLCoreException
 

It rewrites the values of an input value according to the rewriting method. The method takes as input the physical instance value and the related preprocessing value and it returns a bi-dimensional array containing the rewrited physical value and the rewrited preprocessing value.

Parameters:
value String the physical instance attribute whose value must be rewrited.
pp_value String the preprocessing instance attribute whose value must be rewrited.
Returns:
String[] a bi-dimensional array containing the pysical output value as first argument, and the preprocessing output value as second argument.
Exceptions:
ResolverException if a resolver level error occurs.
KDDMLCoreException if a core level error occurs.

Implements kddml.Operators.Preprocessing.RewritingAlgorithms.RewritingAlgorithmResolverTask.

String kddml.Operators.Preprocessing.RewritingAlgorithms.RULE_M_REWRITING_RESOLVER.getHistoryDescription  )  [virtual]
 

Returns a description of the actions performed by this preprocessing algorithm. This description will be reported in the history related to the preprocessing data source.

Returns:
String
Exceptions:
KDDMLCoreException 

Implements kddml.Operators.Preprocessing.PPAlgorithmResolverTask.


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