Liking cljdoc? Tell your friends :D

consimilo.lsh-util


build-hashtablesclj

(build-hashtables trees)

Creates map from keywords for 0 to trees to {}.

Creates map from keywords for 0 to `trees` to {}.
sourceraw docstring

build-sorted-hashtablesclj

(build-sorted-hashtables trees)

Creates map from keywords for 0 to trees to [].

Creates map from keywords for 0 to `trees` to [].
sourceraw docstring

coll-prefixclj

(coll-prefix coll k)

returns vector of first k items in coll

returns vector of first k items in coll
sourceraw docstring

get-hashrangesclj

(get-hashranges k trees)

Vectors of [start stop] for each bucket for the given k buckets and trees trees.

Vectors of [start stop] for each bucket for the given `k` buckets and `trees` trees.
sourceraw docstring

get-rangeclj

(get-range k trees)

Total number of ranges for given k and trees.

Total number of ranges for given `k` and `trees`.
sourceraw docstring

keywordizeclj

(keywordize i)

if not keyword? i, converts i to keyword

if not keyword? i, converts i to keyword
sourceraw docstring

slice-minhashclj

(slice-minhash minhash hashranges)

Slices minhash at hashranges boundaries. hashranges is sequence of sequences each with 2 elements, the first is the start of the bucket range and the second is the end of that bucket.

Slices `minhash` at `hashranges` boundaries.
`hashranges` is sequence of sequences each with 2 elements,
the first is the start of the bucket range and the second
is the end of that bucket.
sourceraw docstring

tree-keysclj

(tree-keys trees)

Keywords for each integer between 0 and trees.

Keywords for each integer between 0 and `trees`.
sourceraw docstring

v=vclj

(v=v v1 v2)

predicate: vector1 = vector2

predicate: vector1 = vector2
sourceraw docstring

v>=vclj

(v>=v v1 v2)

predicate: vector1 >= vector2

predicate: vector1 >= vector2
sourceraw docstring

valid-input-add-files?clj

(valid-input-add-files? files)

validates the input of add-*-to-forest functions

validates the input of add-*-to-forest functions
sourceraw docstring

valid-input?clj

(valid-input? feature-coll pred)

validates the input of add-*-to-forest functions

validates the input of add-*-to-forest functions
sourceraw docstring

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

× close