I am trying to get the distance of all member data points in a cluster from that cluster centroid in meanshift clustering. Like in kmeans gives the distance via transform() method but unfortunately I am having trouble finding any such for meanshift.
Asked
Active
Viewed 74 times
0
-
Add source codes to solve your problem. What did you try on what is your dataset? Your question is so general. – Ismail Durmaz Jan 20 '21 at 22:04
-
I wanted to calculate the distance between 2 points in 3D (centroid and member datapoints). KMeans have a method for that but not MeanShift I guess. I am using euclidean distance formula for that now. – Lp81194 Feb 04 '21 at 05:53