cr.sparse.cluster.ssc.inn_positions

cr.sparse.cluster.ssc.inn_positions(labels, sorted_neighbor_labels)[source]

Returns the position of a neighbor inside the cluster for each point in its list of sorted neighbors across all clusters