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