Interface DistanceMeasure
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JaccardDistancesMeasure
A distance measure interface for calculating the similarity or distance between two sets of values.
Implementations of this interface provide custom methods to compute the distance between two sets.
The distance measure is used in clustering and similarity calculations for various data points.
-
Method Summary
-
Method Details
-
compute
Computes the distance or similarity between two sets of values.- Parameters:
valueA
- The first set of values.valueB
- The second set of values.- Returns:
- The computed distance or similarity between the sets.
-