(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
(index! forest)
builds sorted-hash, must be called in order to query.
builds sorted-hash, must be called in order to query.
(new-forest)
Create new empty initialized forest structure.
Create new empty initialized forest structure.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close