Package | Description |
---|---|
info.debatty.java.utils |
Modifier and Type | Method and Description |
---|---|
double |
SparseDoubleVector.cosineSimilarity(SparseDoubleVector other) |
double |
SparseDoubleVector.dotProduct(SparseDoubleVector other) |
int |
SparseDoubleVector.intersection(SparseDoubleVector other) |
double |
SparseDoubleVector.jaccard(SparseDoubleVector other)
Computes and return the Jaccard index with other SparseVector.
|
double |
SparseDoubleVector.qgram(SparseDoubleVector other)
Compute and return the qgram similarity with other vector.
|
int |
SparseDoubleVector.union(SparseDoubleVector other) |
Copyright © 2015. All rights reserved.