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: System::String ^ CosineSimilarity;
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.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.