Class DistanceType (1.27.2)

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