Visible to Intel only — GUID: GUID-72717FCC-91B6-448A-AD1B-47183D634D79
Visible to Intel only — GUID: GUID-72717FCC-91B6-448A-AD1B-47183D634D79
Cosine distance
The Cosine distance is a measure of distance between two non-zero vectors of an inner product space.
Mathematical formulation
Computing
Given a set U of n feature vectors of dimension k and a set V of m feature vectors of dimension k, the problem is to compute the Cosine distance for any pair of input vectors:
where .
Computation method: dense
The method defines Cosine distance metric, which is used in other algorithms for the distance computation. There is no separate computation mode to compute the distance manually.
Programming Interface
Refer to API Reference: Cosine distance.