'Remove a subcluster from a node and update it with the
split subclusters.'

def update_split_subclusters(self, subcluster, new_subcluster1, new_subcluster2):

    ind = self.subclusters_.index(subcluster)
    self.subclusters_[ind] = new_subcluster1
    self.init_centroids_[ind] = new_subcluster1.centroid_
    self.init_sq_norm_[ind] = new_subcluster1.sq_norm_
    self.append_subcluster(new_subcluster2)
