Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.Clustering.DELTA Class Reference

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

kddml.Core.DataMining.Clustering.AttributeComparisonMeasure List of all members.

Public Member Functions

String getFunctionName ()

Protected Member Functions

double computeNumeric (double value1, Double value2)
double computeDiscrete (String value1, String value2) throws ClusteringModelException

Detailed Description

Given two field values x and y, the delta function is defined as:

c(x,y) = 0 if x=y, 1 otherwise.
The delta function is an inner function, used to compare two single field values.

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

double kddml.Core.DataMining.Clustering.DELTA.computeNumeric double  value1,
Double  value2
[protected, virtual]
 

Computes the comparison measure for a numeric attribute.

Parameters:
value1 double the centroid coordinate for this attribute. Cannot be null.
value2 Double the attribute value to compare. Can be null for missing attributes. In this case, the method returns 1.
Returns:
double 0 or 1.

Implements kddml.Core.DataMining.Clustering.AttributeComparisonMeasure.

double kddml.Core.DataMining.Clustering.DELTA.computeDiscrete String  value1,
String  value2
throws ClusteringModelException [protected, virtual]
 

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

Parameters:
value1 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

Implements kddml.Core.DataMining.Clustering.AttributeComparisonMeasure.

String kddml.Core.DataMining.Clustering.DELTA.getFunctionName  )  [virtual]
 

Returns the function name.

Returns:
String

Implements kddml.Core.DataMining.Clustering.AttributeComparisonMeasure.


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