FPSInitialization

class baybe.recommenders.pure.nonpredictive.sampling.FPSInitialization[source]

Bases: Enum

Initialization methods for farthest point sampling.

Public attributes and properties

FARTHEST

Selects the first two points with the largest distance.

RANDOM

Selects the first point uniformly at random.

FARTHEST = 'farthest'

Selects the first two points with the largest distance.

RANDOM = 'random'

Selects the first point uniformly at random.