Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.Clustering.AttributeComparisonMeasure Class Reference

Inheritance diagram for kddml.Core.DataMining.Clustering.AttributeComparisonMeasure:

kddml.Core.DataMining.Clustering.ABS_DIFF kddml.Core.DataMining.Clustering.DELTA kddml.Core.DataMining.Clustering.EQUAL kddml.Core.DataMining.Clustering.GAUSS_SIM kddml.Core.DataMining.Clustering.SIMILARITY_MATRIX List of all members.

Public Member Functions

abstract String getFunctionName ()

Protected Member Functions

abstract double computeNumeric (double center_coordinate, Double value2) throws ClusteringModelException
abstract double computeDiscrete (String center_coordinate, String value2) throws ClusteringModelException

Detailed Description

The AttributeComparisonMeasure describes the comparison function to be used to determine the similarity between two values of an attribute (inner comparison function).

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)
Version:
2.0.16


Member Function Documentation

abstract double kddml.Core.DataMining.Clustering.AttributeComparisonMeasure.computeNumeric double  center_coordinate,
Double  value2
throws ClusteringModelException [protected, pure virtual]
 

Computes the comparison measure for a numeric attribute. Throws an exception if the function cannot be calculated on a numeric attribute.

Parameters:
center_coordinate double the centroid coordinate for this attribute. Cannot be null.
value2 Double the attribute value to compare. Can be null for missing attributes.
Exceptions:
ClusteringModelException if the function cannot be calculated.
Returns:
double

Implemented in kddml.Core.DataMining.Clustering.ABS_DIFF, kddml.Core.DataMining.Clustering.DELTA, kddml.Core.DataMining.Clustering.EQUAL, kddml.Core.DataMining.Clustering.GAUSS_SIM, and kddml.Core.DataMining.Clustering.SIMILARITY_MATRIX.

abstract double kddml.Core.DataMining.Clustering.AttributeComparisonMeasure.computeDiscrete String  center_coordinate,
String  value2
throws ClusteringModelException [protected, pure virtual]
 

Computes the comparison measure for a discrete attribute. Throws an exception if the function cannot be calculated on a discrete attribute.

Parameters:
center_coordinate String the centroid coordinate for this attribute. Cannot be null.
value2 String the attribute value to compare. Can be null for missing attributes.
Exceptions:
ClusteringModelException if the function cannot be calculated.
Returns:
double

Implemented in kddml.Core.DataMining.Clustering.ABS_DIFF, kddml.Core.DataMining.Clustering.DELTA, kddml.Core.DataMining.Clustering.EQUAL, kddml.Core.DataMining.Clustering.GAUSS_SIM, and kddml.Core.DataMining.Clustering.SIMILARITY_MATRIX.

abstract String kddml.Core.DataMining.Clustering.AttributeComparisonMeasure.getFunctionName  )  [pure virtual]
 

Returns the function name as used in PMML.

Returns:
String

Implemented in kddml.Core.DataMining.Clustering.ABS_DIFF, kddml.Core.DataMining.Clustering.DELTA, kddml.Core.DataMining.Clustering.EQUAL, kddml.Core.DataMining.Clustering.GAUSS_SIM, and kddml.Core.DataMining.Clustering.SIMILARITY_MATRIX.


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