public class CooccurrenceCountSimilarity extends CountbasedMeasure
NO_NORM
Constructor and Description |
---|
CooccurrenceCountSimilarity() |
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, normalize
public 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 VectorSimilarityMeasure
consider
in class CountbasedMeasure
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.