0
$\begingroup$

I have a dataset which contains both numeric and categorical data. In order to carry out clustering in python I have applied kprototype which is the mixed form of kmeans to be used in such cases. I have also got the centroids from the algorithm. My next task is to figure out for each cluster, which data point is the closest to the cluster centroid. Can someone tell me how to do this?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.