Visible to Intel only — GUID: GUID-7E237799-0337-4E02-8240-84049DB20452
Visible to Intel only — GUID: GUID-7E237799-0337-4E02-8240-84049DB20452
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.