constants module

Set of constant values used around the library (mostly for internal use) to support its algorithm implementations.

class jinete.models.constants.DistanceMetric[source]

Bases: enum.Enum

An enumeration.

static EUCLIDEAN(a, b)
Return type

float

static MANHATTAN(a, b)
Return type

float

class jinete.models.constants.OptimizationDirection[source]

Bases: enum.Enum

An enumeration.

MAXIMIZATION = <built-in function max>
MINIMIZATION = <built-in function min>
nbest(n, iterable, key, inplace=False)[source]
Return type

List[T]

sorted(iterable, key, inplace=False)[source]
Return type

List[T]