Interface SMNumericThreshold

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

public interface SMNumericThreshold extends SMNumeric
Threshold functions should be used if there is the possibility that the contribution of an attribute to the utility is binary in the sense that up to a certain difference the case is useful and beyond it is not useful.
  • Field Details

    • NAME

      static final String NAME
      Name of similarity measure is "NumericThreshold".
      See Also:
    • DEFAULT_THRESHOLD

      static final double DEFAULT_THRESHOLD
      The default threshold value is 1.0.
      See Also:
  • Method Details

    • getThreshold

      double getThreshold()
    • setThreshold

      void setThreshold(double theta)
      Theta is necessary for the sigmoid function and as threshold for the threshold function
      Parameters:
      theta - must be greater zero