Enum SqlFn.DistanceMetric
- Namespace
- LinqToDB.DataProvider.SqlServer
- Assembly
- linq2db.dll
A string with the name of the distance metric to use to calculate the distance between the two given vectors.
public enum SqlFn.DistanceMetric
- Extension Methods
Fields
Cosine = 0Cosine (angular) distance.
0 identical vectors 2 opposing vectors Dot = 2Dot product-based indication of distance, obtained by calculating the negative dot product.
Smaller numbers indicate more similar vectors Euclidean = 1Euclidean distance.
0 identical vectors