Class DistanceType (1.16.0)

DistanceType(value)

Distance metric used to compute the distance between two points.

Attributes

NameDescription
EUCLIDEAN int
Eculidean distance.
COSINE int
Cosine distance.

Inheritance

builtins.object > builtins.int > builtins.object > enum.Enum > enum.IntEnum > DistanceType