
@Reference(authors="M.S. Charikar", title="Similarity estimation techniques from rounding algorithms", booktitle="Proc. 34th ACM Symposium on Theory of computing, STOC\'02", url="https://dx.doi.org/10.1145%2F509907.509965") public class CosineLocalitySensitiveHashFunction extends Object implements LocalitySensitiveHashFunction<NumberVector>
M.S. Charikar
Similarity estimation techniques from rounding algorithms
Proc. 34th ACM Symposium on Theory of computing, STOC'02
| Modifier and Type | Field and Description |
|---|---|
private RandomProjectionFamily.Projection |
projection
Projection function.
|
| Constructor and Description |
|---|
CosineLocalitySensitiveHashFunction(RandomProjectionFamily.Projection projection)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
hashObject(NumberVector obj)
Compute the hash value of an object
|
private RandomProjectionFamily.Projection projection
public CosineLocalitySensitiveHashFunction(RandomProjectionFamily.Projection projection)
projection - Projectionpublic int hashObject(NumberVector obj)
LocalitySensitiveHashFunctionhashObject in interface LocalitySensitiveHashFunction<NumberVector>obj - Object to hashCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.