Interface SMNumericSigmoid

  • All Superinterfaces:
    SimilarityMeasure, SMNumeric
    All Known Implementing Classes:
    SMNumericSigmoidImpl

    public interface SMNumericSigmoid
    extends SMNumeric
    We can also use sigmoid functions as a generalization of threshold functions. The parameter $\theta \geq 0$ specifies the difference value at which the similarity has a value of $0.5$. The parameter $\alpha>0$ specifies the steepness of the similarity decrease: the smaller $\alpha$ the steeper is the decrease.
    • Method Detail

      • getAlpha

        double getAlpha()
      • setAlpha

        void setAlpha​(double alpha)
        Alpha is necessary for sigmoid function. Alpha should be very small, e.g., 0.1 or 0.01.
        Parameters:
        alpha - must be greater zero
      • getTheta

        double getTheta()
      • setTheta

        void setTheta​(double theta)
        Theta is necessary for the sigmoid function. Theta must be between 0 an 1.
        Parameters:
        theta - must be greater zero