Visible to Intel only — GUID: GUID-4AFE5AE9-DC9C-480D-A441-DABECDB93709
Visible to Intel only — GUID: GUID-4AFE5AE9-DC9C-480D-A441-DABECDB93709
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.