cc.mallet.types
Interface CachedMetric
-
- All Superinterfaces:
- Metric
- All Known Implementing Classes:
- NormalizedDotProductMetric
public interface CachedMetric extends Metric
Stores a hash for each object being compared for efficient computation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doubledistance(SparseVector a, int hashCodeA, SparseVector b, int hashCodeB)
-
-
-
Method Detail
-
distance
double distance(SparseVector a, int hashCodeA, SparseVector b, int hashCodeB)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG