1
$\begingroup$

Clustering algorithm defines a particular distance (correlation or euclidean) and a linkage (which, strangely some books call distance - single, complete, average or centroid). Conceptually, correlation or euclidean distance measure distance between two points (but not clusters, perhaps); linkages measure distance between one cluster and other clusters (or points).

So, when the algorithm is applied, how does it matter what distance (correlation/euclidean) I choose, if the dissimilarity and subsequent grouping done only on the basis of linkages?

I know the distance choice matters because it gave me a different answer and dendograms for both measures.

Please help, thanks!

$\endgroup$
2
  • $\begingroup$ Distance measure is a formula how to define, compute adistance between two points. Linkage method in HCA is how to compute the distance (whichever selected) in case where one or both of the two points are actually not singleton points but clusters, group of points. $\endgroup$
    – ttnphns
    Commented May 9, 2018 at 15:30
  • $\begingroup$ Note that many linkage methods (Ward, centroid, etc) require euclidean distance for geometric validity of the clustering. $\endgroup$
    – ttnphns
    Commented May 9, 2018 at 15:34

2 Answers 2

2
$\begingroup$

The linkage defines how the distances are aggregated.

Without the underlying distance, there would be nothing to aggregate. Nothing to take the minimum/maximum/average of. The definitions of linkages require a distance.

$\endgroup$
0
1
$\begingroup$

The linkage criterion is a function of the distance metric that you choose.

For instance, let's consider the average-linkage criterion. Here's the formula:

Mean or Average Linkage Criterion (Source: Wikipedia)

Notice that the d in the above formula is the chosen distance metric.

If you had chosen Euclidean distance, then that could provide a different value for the linkage function as compared to say, the Mahalanobis distance.

$\endgroup$

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.