public class TanimotoCoefficientSimilarity extends CountbasedMeasure
NO_NORM| Constructor and Description |
|---|
TanimotoCoefficientSimilarity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
consider(int numNonZeroEntriesA,
int numNonZeroEntriesB,
double maxValueA,
double maxValueB,
double threshold) |
double |
similarity(double dots,
double normA,
double normB,
int numberOfColumns) |
aggregate, norm, normalizepublic double similarity(double dots,
double normA,
double normB,
int numberOfColumns)
public boolean consider(int numNonZeroEntriesA,
int numNonZeroEntriesB,
double maxValueA,
double maxValueB,
double threshold)
consider in interface VectorSimilarityMeasureconsider in class CountbasedMeasureCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.