DistanceMetric
public enum DistanceMetric : UInt32
ENTERPRISE EDITION ONLY
Distance metric type
-
Undocumented
Declaration
Swift
case euclideanSquared = 1
-
Squared Euclidean distance (AKA Squared L2)
Declaration
Swift
case cosine
-
Cosine distance
Declaration
Swift
case euclidean
-
Euclidean distance (AKA L2)
Declaration
Swift
case dot