cr.sparse.cluster.ssc.nearest_neighbors_inside_cluster

cr.sparse.cluster.ssc.nearest_neighbors_inside_cluster(angles, cluster_sizes)[source]

Returns the index of the nearest neighbor for each point inside the cluster