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.
See also
Other SpaceSampler:
SpaceSampler,
SpaceSamplerDistance,
mlr_space_samplers,
mlr_space_samplers_chain,
mlr_space_samplers_conditional,
mlr_space_samplers_gsx,
mlr_space_samplers_kmedoids,
mlr_space_samplers_lhs,
mlr_space_samplers_relational_kmeans,
mlr_space_samplers_sobol,
mlr_space_samplers_uniform