Skip to contents

K-means-based pool sampler.

The wrapped distance must expose a numeric reference embedding or numeric reference columns after set_reference_points().

Creates a new K-means space sampler.

Format

R6::R6Class object inheriting from SpaceSamplerDistance.

Arguments

distance

(ALDistance)
Distance used to construct the fitted geometry.

Construction

clx_sps("kmeans")