calc_distance

Import in python using from mcutils.utils.kmedoids import calc_distance

mcutils.utils.kmedoids.calc_distance(distance, centers, labels)[source]

Calculate the distance between the cluster centra and the labels.