def __get_item_indices_per_cluster(k, labels):
    """Get a 2-D array where the array at position i holds the indices of all items in cluster i"""
    indices_per_cluster = [[] for x in range(k)]
    for i in range(len(labels)):
        indices_per_cluster[labels[i]].append(i)
    return indices_per_cluster
