Share via


DistanceFunction.CosineDistance Field

Definition

The cosine (angular) similarity between two vectors.

public const string CosineDistance;
val mutable CosineDistance : string
Public Const CosineDistance As String 

Field Value

Remarks

CosineDistance = 1 - CosineSimilarity. 2 means vectors are opposite. 1 means vectors are orthogonal. 0 means vectors are identical.

Applies to