Interface SMNumericFuzzy
- All Superinterfaces:
SimilarityMeasure
,SMNumeric
- All Known Implementing Classes:
SMNumericFuzzyImpl
Is providing fuzzy similarity functionality, according to the paper: Case-based Reasoning for
Diagnosis of Stress using Enhanced Cosine and Fuzzy Similarity; by M. U. Ahmed, S. Begum, P.
Funk, N. Xiong, B. V. Schéele, See paper page 13 for a visual description.
A spread per value is defined, which allows triangle-areas on those values. If the areas of the compared values overlap, this indicates a similarity. max (Overlap/area1, Overlap/area2) is then similarity. *
A more detailed description can be found in the wiki. This measure cannot be used with
chronological objects
.
- Author:
- Alexander Stromer, Alexander Schultheis
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.similarity.base.numeric.SMNumeric
SMNumeric.ZERO_OUT_STRATEGIES
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
The default spread value is 1.0.static final String
Name of similarity measure is "NumericFuzzy".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.numeric.SMNumeric
DEFAULT_STRATEGY
-
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.numeric.SMNumeric
getAsymmetricStrategy, setAsymmetricStrategy
-
Field Details
-
NAME
Name of similarity measure is "NumericFuzzy".- See Also:
-
DEFAULT_SPREAD
static final double DEFAULT_SPREADThe default spread value is 1.0.- See Also:
-
-
Method Details
-
getSpread
double getSpread()gets the spread of the fuzzy similarity- Returns:
-
setSpread
void setSpread(double spread) sets the spread of the fuzzy similarity- Parameters:
spread
-
-