Interface SMNumericThreshold
- All Superinterfaces:
SimilarityMeasure
,SMNumeric
- All Known Implementing Classes:
SMNumericThresholdImpl
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.
-
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 threshold value is 1.0.static final String
Name of similarity measure is "NumericThreshold".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
Modifier and TypeMethodDescriptiondouble
void
setThreshold
(double theta) Theta is necessary for the sigmoid function and as threshold for the threshold functionMethods 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 "NumericThreshold".- See Also:
-
DEFAULT_THRESHOLD
static final double DEFAULT_THRESHOLDThe 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
-