apoc.algo.euclideanSimilarity

Function

apoc.algo.euclideanSimilarity([vector1], [vector2]) given two collection vectors, calculate similarity based on euclidean distance

Signature

apoc.algo.euclideanSimilarity(vector1 :: LIST? OF NUMBER?, vector2 :: LIST? OF NUMBER?) :: (FLOAT?)

Input parameters

Name Type Default

vector1

LIST? OF NUMBER?

null

vector2

LIST? OF NUMBER?

null