Preparing search index...
The search index is not available
ml-distance
ml-distance
similarity
cosine
Function cosine
cosine
(
a
:
NumberArray
, b
:
NumberArray
)
:
number
Returns the average of cosine distances between vectors a and b
Parameters
a:
NumberArray
first vector
b:
NumberArray
second vector
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
ml-
distance
distance
similarity
tree
cosine
czekanowski
dice
intersection
kulczynski
kumar
Hassebrook
motyka
pearson
squared
Chord
tanimoto
Returns the average of cosine distances between vectors a and b