cytonormpy.KMeans.calculate_clusters#
- KMeans.calculate_clusters(X, **kwargs)#
Calculates the clusters. Calls
sklearn.cluster.KMeans.predict()internally.- Parameters:
X (
ndarray) – The data that are supposed to be predicted.kwargs – Keyword arguments passed to
sklearn.cluster.KMeans.predict()
- Return type:
Cluster annotations stored in a
np.ndarray