0
$\begingroup$

I have two questions .It would be really helpful if you kindly reply because after doing lot of research too i still cant get rid of my confusions. I have read that in Euclidian space we use centroid method to represent a cluster . If it is so then how to use complete linkage or single linkage methods. Because in complete linkage the proximity between the new cluster, denoted (r,s) and old cluster (k) is defined as d[(k), (r,s)] = max d[(k),(r)], d[(k),(s)].But if we use centroid method then where are we using this centroid to calculate distance ???

I just to want to make clear how to compute the distance between the pair of clusters for complete linkage in Euclidian and in non Euclidian space . Thank you ...

$\endgroup$
1

2 Answers 2

1
$\begingroup$

Hierarchical clustering with single or complete linkage does not use centroids.

There are many tutorials on the web that will step you through the computations, but that is too long to do here again.

$\endgroup$
2
  • $\begingroup$ can we use manhattan distance metric for single linkage ??? $\endgroup$ Commented Jun 3, 2017 at 16:24
  • $\begingroup$ You can use essentially any function, it does not need to be metric. $\endgroup$ Commented Jun 3, 2017 at 21:05
1
$\begingroup$

Hierarchical cluster analysis can calculate distances using a variety of different distance measures (Euclidean, Euclidean squared, Block etc.), you can pick the distance measure you want to use. This is just how we calculate distances between clusters (or how we tell whatever program we're using to calculate distances).

There are lots of different measures, but generally take the form of:

D$_{xy}$ = ( $\Sigma_i$ |x – y|$^p$ )$^{1/q}$

Where D = distance, x and y are scores for the i-th person on variables x and y, and p and q are different values depending on which distance metric we're using (e.g., both 2 if we're using the Euclidian distance measure).

enter image description here

So, roughly speaking, we can pick which "space" we're going to work in.

After we do that, there is a second thing we have to decide!

Where do we calculate the distances from when we start to amalgamate individual data points together? As, when we amalgamate our data points based on their distances to make clusters, we then have to calculate new distances. We have made a cluster with individual data points, and now have to decide what should count as its new coordinates when calculating distances.

Do we find the centre of the new cluster and measure from that (which would be the centroid method)? Do we just pick the closest member of our cluster to our other data point and measure from there (single linkage)? Do we pick the furthest data point in the cluster and measure from there (complete linkage)?

The method we pick just decides where we measure the distance between clusters from. We then use the distance measure we decided on earlier to calculate those distances. There's no strong reason to think that if we pick the Euclidian distance metric, we have to then use the centroid method. All of these are choices that we can make, and that will impact the clusters that we end up constructing.

$\endgroup$
2
  • $\begingroup$ i think we can use manhattan distance metric also in single linkage method ... since manhattan distance metric is more favourable than eucledian at high dimensions . $\endgroup$ Commented Jun 3, 2017 at 8:30
  • $\begingroup$ Why would that be? I'm not award of any such proven benefit. $\endgroup$ Commented Jun 3, 2017 at 21:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.