project_clustering

Cluster.project_clustering(mpp_data, save_dir=None, batch_size=200000)[source]

Project already computed clustering from Cluster.cluster_mpp to mpp_data.

Parameters
  • mpp_data (MPPData) – Data to project the clustering to. Should contain cluster_rep.

  • save_dir (str | None) – Full path to dir where the clustering should be saved.

  • batch_size (int) – Iterate over data in batches of size batch_size.

Returns

Data with clustering.

Return type

MPPData