You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, the following snippet generates 10 locality-sensitive hash functions (bundled together into a single `SimHash` struct) for cosine similarity:
58
58
59
59
```julia
60
-
julia>usingLSHFunction;
60
+
julia>usingLSHFunctions;
61
61
62
62
julia> hashfn =LSHFunction(cossim, 10);
63
63
@@ -68,7 +68,7 @@ julia> similarity(hashfn)
68
68
cossim
69
69
```
70
70
71
-
You can then start hashing new vectors by calling `hashfn()`:
0 commit comments