cytonormpy.MeanShift.calculate_clusters

cytonormpy.MeanShift.calculate_clusters#

MeanShift.calculate_clusters(X, **kwargs)#

Calculates the clusters. Calls sklearn.cluster.MeanShift.predict() internally.

Parameters:
  • X (ndarray) – The data that are supposed to be predicted.

  • kwargs – Keyword arguments passed to sklearn.cluster.MeanShift.predict()

Return type:

Cluster annotations stored in a np.ndarray