|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.datamining.Enum
|
+--javax.datamining.clustering.AggregationFunction
AggregationFunction describes the
aggregation function to be used to determine the
similarity between two cases (outer comparison
function). An aggregation function aggregates the
similarity values of two cases calculated using an
attribute comparison function (inner comparison
function). Depending on the attribute type, the
aggregated value is optimal if it is 0 for
distance measure, or greater values indicate
optimal fit for similarity measure.
Given that W_i, X_i, and Y_i are attribute weight, and two values of an attribute and c(X_i,Y_i) is the attribute comparison function, aggregation function for numerical data can be:
| Field Summary | |
static AggregationFunction |
binarySimilarity
|
static AggregationFunction |
chebychev
|
static AggregationFunction |
cityBlock
|
static AggregationFunction |
euclidean
|
static AggregationFunction |
jaccard
|
static AggregationFunction |
minkowski
|
static AggregationFunction |
simpleMatching
|
static AggregationFunction |
squaredEuclidean
|
static AggregationFunction |
systemDefault
|
static AggregationFunction |
systemDetermined
|
static AggregationFunction |
tanimoto
|
| Method Summary | |
static void |
addExtension(java.lang.String name)
Adds a vendor extension name to AggregationFunction. |
static AggregationFunction |
valueOf(java.lang.String name)
Returns an instance of AggregationFunction corresponding to the specified name. |
static AggregationFunction[] |
values()
Returns a list of all AggregationFunction enumerations defined. |
| Methods inherited from class javax.datamining.Enum |
compareTo, equals, name |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final AggregationFunction binarySimilarity
public static final AggregationFunction chebychev
public static final AggregationFunction cityBlock
public static final AggregationFunction euclidean
public static final AggregationFunction jaccard
public static final AggregationFunction minkowski
public static final AggregationFunction simpleMatching
public static final AggregationFunction squaredEuclidean
public static final AggregationFunction systemDefault
public static final AggregationFunction systemDetermined
public static final AggregationFunction tanimoto
| Method Detail |
public static void addExtension(java.lang.String name)
throws JDMException
name to AggregationFunction.
name - The name of the unique vendor extension
JDMException - When name is an invalid string or redundant to existing standard enums.public static AggregationFunction valueOf(java.lang.String name) throws JDMException
AggregationFunction corresponding to the specified name.
name - The name of the enumeration value
AggregationFunction - The instance of the specified enumeration.
JDMException - When name is not valid.public static AggregationFunction[] values()
AggregationFunction enumerations defined.
AggregationFunction[]
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||