DistanceFunction.CosineSimilarity Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The cosine (angular) similarity between two vectors.
public const string CosineSimilarity;
val mutable CosineSimilarity : string
Public Const CosineSimilarity As String
Field Value
Remarks
Measures only the angle between the two vectors, without taking into account the length of the vectors. ConsineSimilarity = 1 - CosineDistance. -1 means vectors are opposite. 0 means vectors are orthogonal. 1 means vectors are identical.