Liking cljdoc? Tell your friends :D

consimilo.lsh-forest


add-lsh!clj

(add-lsh! forest key minhash)

add minhash to lsh-forest. key must be a string, will be converted to keyword

add minhash to lsh-forest. key must be a string, will be converted to keyword
sourceraw docstring

index!clj

(index! forest)

builds sorted-hash, must be called in order to query.

builds sorted-hash, must be called in order to query. 
sourceraw docstring

new-forestclj

(new-forest)

Create new empty initialized forest structure.

Create new empty initialized forest structure.
sourceraw docstring

query-forestclj

(query-forest forest minhash k-items)

search lsh-forest for top k most similar items, utilizes binary search. index! must be called prior to build the sorted hashes.

search lsh-forest for top k most similar items, utilizes binary search.
index! must be called prior to build the sorted hashes.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close