Kprototype's predict method allows to get cluster for new data. Is there a way to get also the actual distance from the centroid for new data instead of the belonging cluster only? I have a use-case where I need to get the actual distance of the sample rather than the belonging cluster.
For my use-case where I just need to compare the "likeness" of sample to the cluster, I think getting the tot_cost from the _labels_cost function will do the trick! Thanks!
Kprototype's predict method allows to get cluster for new data. Is there a way to get also the actual distance from the centroid for new data instead of the belonging cluster only? I have a use-case where I need to get the actual distance of the sample rather than the belonging cluster.