Three points have pairwise distances , and . Use classical multidimensional scaling (MDS) with double centring to find the matrix and the 1-D embedding. Why is one dimension enough?
Unsupervised learning, Multidimensional scaling
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can carry out classical MDS: square the distances, double-centre them, and eigendecompose.
Key idea
Classical MDS forms with ; if for centred coordinates , then the top eigenpairs of give .
Steps
- Square the distances: .
- Row means: . Grand mean: .
- Double centring: . For example and .
- Because , the points are collinear, so has rank 1 with one non-zero eigenvalue equal to .
- The coordinates are the centred positions on the line: , up to a sign. Check: and .
- One dimension suffices because the triangle inequality holds with equality: . The other eigenvalues of are zero.
Common mistakes
- Double-centring the distances instead of the squared distances.
- Forgetting the factor , which gives a matrix with the wrong sign and scale.
- Expecting a unique embedding. Reflections, rotations and translations of the points all give the same distances.
How long your answer should be
Half a page; 5 minutes.
Read this
Previous in Unsupervised learning: The gap statistic compares (the log within-cluster dispersion) with its expectation under a reference null with no cluster structure. For suppose , the reference expectations are , and all . Compute the gaps and choose by the standard "one standard error" rule. Why not pick the with the largest gap?
Next in Unsupervised learning: How do you show that the directions of maximum variance also minimise the squared reconstruction error of PCA? How do you derive the error for components in terms of the eigenvalues of the covariance matrix?