Visible to Intel only — GUID: GUID-58658744-B1A7-4DE7-B309-50BB05D51CAE
Visible to Intel only — GUID: GUID-58658744-B1A7-4DE7-B309-50BB05D51CAE
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.