Skip to contents

K-means-style pool sampler driven directly by the pairwise distance matrix.

This sampler clusters the fitted pool with the relational k-means objective. For Euclidean distances it is equivalent to ordinary k-means in an unknown embedding. For non-Euclidean distances it remains a heuristic.

If known_pool is given, those points influence the implicit centroids but are not eligible for selection.

Creates a new relational k-means space sampler.

Format

R6::R6Class object inheriting from SpaceSamplerDistance.

Arguments

distance

(ALDistance)
Distance used to construct the pairwise dissimilarity matrix.

Construction

clx_sps("relational_kmeans")