OECosine

OECosine(fpA: OEFingerPrint, fpB: OEFingerPrint) -> float

Calculates the Cosine similarity value of two OEFingerPrint objects.

Formula:

\(Sim_{Cosine}(A,B) = \frac{bothAB}{\sqrt{(onlyA + bothAB) * (onlyB + bothAB)}}\)

See also