kmeansPredict

systemds.operator.algorithm.kmeansPredict(X: Matrix, C: Matrix)

Builtin function that does predictions based on a set of centroids provided.

Parameters:
  • X – The input Matrix to do KMeans on.

  • C – The input Centroids to map X onto.

Returns:

The mapping of records to centroids