Interface SMNumericFuzzy

All Superinterfaces:
SimilarityMeasure, SMNumeric
All Known Implementing Classes:
SMNumericFuzzyImpl

public interface SMNumericFuzzy extends SMNumeric
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
  • Field Details

  • 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 -