@Shareable public class RealThreshold extends Object implements Threshold, Serializable
Checks similarity values to ensure their real values are over the ThresholdValue
.
Constructor and Description |
---|
RealThreshold(double thresholdValue) |
Modifier and Type | Method and Description |
---|---|
double |
getValue()
Get the threshold value.
|
boolean |
retain(double sim)
Checks a similarity value against retention criteria for inclusion in similarity models.
|
@Inject public RealThreshold(@ThresholdValue double thresholdValue)
public double getValue()
Get the threshold value.
public boolean retain(double sim)
Threshold
Checks a similarity value against retention criteria for inclusion in similarity models.