Liking cljdoc? Tell your friends :D

consimilo.minhash-util


cosine-distanceclj

(cosine-distance v1 v2)

computes cosine distance between two positive vectors of equal length, v1 and v2

computes cosine distance between two positive vectors of equal length, v1 and v2 
sourceraw docstring

dotclj

(dot v1 v2)

computes the dot product of two vectors v1 and v2

computes the dot product of two vectors v1 and v2
sourceraw docstring

elementwise-addclj

(elementwise-add v1 v2)

performs elementwise addition betwen vectors v1 and v1

performs elementwise addition betwen vectors v1 and v1
sourceraw docstring

elementwise-minclj

(elementwise-min v1 v2)

performs elementwise minimum between vectors v1 and v2

performs elementwise minimum between vectors v1 and v2
sourceraw docstring

hamming-distanceclj

(hamming-distance v1 v2)
source

jaccard-similarityclj

(jaccard-similarity v1 v2)

performs jaccard on vectors self and other

performs jaccard on vectors self and other
sourceraw docstring

l2nrmclj

(l2nrm v)

computes the l2 norm of vector v

computes the l2 norm of vector v
sourceraw docstring

scalar-modclj

(scalar-mod v k)

performs a scalar modulus on each element of vec and k

performs a scalar modulus on each element of vec and k
sourceraw docstring

scalar-mulclj

(scalar-mul v k)

performs a scalar multiply on each element of vec and k

performs a scalar multiply on each element of vec and k
sourceraw docstring

zip-similarityclj

(zip-similarity forest query sim-f)

returns key value pairs {minhash-key, jaccard}

returns key value pairs {minhash-key, jaccard}
sourceraw docstring

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

× close