cosine

Returns the cosine similarity between the two vectors.

Throws

if the vectors' dimensions differ.


Returns the cosine similarity between the two vectors.