Interface SMAggregateKMaximum
- All Superinterfaces:
SimilarityMeasure
,SMAggregate
,SMAggregateWeighted
- All Known Implementing Classes:
SMAggregateKMaximumImpl
The k-maximum aggregation is a generalization of the standard maximum aggregation. The k highest
local similarity value determines the global similarity. Hence, if k out of n attributes indicate
a high utility, the overall utility for the whole case is high.
Φ(s, …, si) = maxnik (ωi · sik) with (ωi · sik) ≥ (ωi · sik)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default k value is 1.static final String
Name of similarity measure is "AggregateKMaximum".Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
LOG_ORDER_NAME_NOT_FOUND
Fields inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregate
DEFAULT_IGNORE_NULL_ATTRIBUTES_IN_QUERY, LOG_ATTRIBUTE_NAME_NOT_FOUND, LOG_ATTRIBUTE_NOT_FOUND, PROPERTY_USER_WEIGHT
Fields inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregateWeighted
DEFAULT_WEIGHT
-
Method Summary
Methods inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
compute, getDataClass, getName, getSystemName, isForceOverride, isReusable, setForceOverride
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregate
getSimilaritiesToUse, getSimilaritiesToUse, getSimilarityToUse, isIgnoreNullAttributesInQuery, setIgnoreNullAttributesInQuery, setSimilarityToUse
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.aggregate.SMAggregateWeighted
getAttributeWeights, getDefaultWeight, getWeight, setDefaultWeight, setWeight
-
Field Details
-
NAME
Name of similarity measure is "AggregateKMaximum".- See Also:
-
DEFAULT_K
static final int DEFAULT_KDefault k value is 1.- See Also:
-
-
Method Details
-
getK
int getK()- Returns:
- the k value for k-maximum
-
setK
void setK(int k) To use the k-Maximum Aggregation it is necessary to set the k value. k
-