Skip to content

altre/LocalitySensitive.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalitySensitive

Build Status Coveralls

Implementations of Locality Sensitive Hashing schemes.

MinHash

Implementation of Minwise Independent Hashing.

Example usage:

using LocalitySensitive

documents = readlines("resources/benchmark_data.csv")
mh = MinHash()
fingerprints = fingerprint_all(mh, [shingle(d, size=4) for d in documents])
estimate_jaccard(fingerprints[1], fingerprints[2])
mhind = MinHashIndex(minhash=mh, threshold=0.9)
for f in fingerprints
    push!(mhind, f)
end
pairs = similar_pairs(mhind)
find_similar(mhind, fingerprint(mh, shingle(documents[210], size=4)))

About

Locality Sensitive Hashing in Julia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages