



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Given p oints in some space | often a high-dimensional space | group the p oints into a small numb er of clusters, each cluster consisting of p oints that are \near" in some sense. Some applications:
Figure 1: Clusters of cholera cases indicated where the p olluted wells were
space of 7 dimensions, with each dimension representing radiation in one band of the sp ectrum. The Sloan Sky Survey is a more ambitious attempt to catalog and cluster the entire visible universe.
To discuss whether a set of p oints is close enough to b e considered a cluster, we need a distance measure D (x; y ) that tells how far p oints x and y are. The usual axioms for a distance measure D are:
Often, our p oints may b e thought to live in a k -dimensional Euclidean space, and the distance b etween any two p oints, say x = [x 1 ; x 2 ; : : : ; xk ] and y = [y 1 ; y 2 ; : : : ; yk ] is given in one of the usual manners:
k
When there is no Euclidean space in which to place the p oints, clustering b ecomes more dicult. Here are some examples where a distance measure without a Euclidean space makes sense.
Example 1.1 : We can think of Web pages as p oints in the roughly 108 -dimensional space where each dimension corresp onds to one word. However, computation of distances would b e prohibitive in a space this large. A b etter approach is to base the distance D (x; y ) on the dot pro duct of vectors corresp onding to x and y , since we then have to deal only with the words actually present in b oth x and y. We need to compute the lengths of the vectors involved, which is the square ro ot of the sum of the squares of the numb ers of o ccurrences of each word. The sum of the pro duct of the o ccurrences of each word in each do cument is divided by each of the lengths to get a normalized dot pro duct. We subtract this quantity from 1 to get the distance b etween x and y. For instance, supp ose there were only 4 words of interest, and the vectors x = [2; 0 ; 3 ; 1] and y = [5; 3 ; 2 ; 0] represented the numb ers of o ccurrences of these words in the two do cuments. The dot pro duct x:y is
14, and the length of the second is
As another example, supp ose do cument x has word-vector [a 1 ; a 2 ; : : :], and y is two copies of x; i.e., y = [2a 1 ; 2 a 2 ; : : :]. Then
i 2 a
2
i a
2 i
i (2ai^ )
That is, x and y are essentially the same do cument; surely they are on the same topic, and deserve to b e clustered together. 2
Example 1.2 : Character strings, such as DNA sequences may b e similar even though there are some insertions and deletions as well as changes in some characters. For instance, abcde and bcdxy e are rather similar, even though they don't have any p ositions in common, and don't even have the same length. Thus, instead of trying to construct a Euclidean space with one dimension for each p osition, we can de ne the
of x and y. In our example, LC S (abcde; bcdxy e) is bcde, of length 4, so
An unintuitive consequence of working in a high-dimensional space is that almost all pairs of p oints are ab out as far away as average.
Example 1.3 : Supp ose we throw p oints at random into a k -dimensional unit cub e. If k = 2, we exp ect that the p oints will spread out in the plane, with some very nearby p oints and some pairs at almost the maximum p ossible distance,
However, supp ose k is large, say 100, or 100,000. Regardless of which norm we use, L 2 , L 1 , or L 1 , we
there will b e some dimension i such that xi and yi are almost as di erent as p ossible, even if x and y are very close in other dimensions. Thus, D (x; y ) is going to b e very close to 1. 2
Another interesting consequence of high-dimensionality is that all vectors, such as x = [x 1 ; x 2 ; : : :] and y = [y 1 ; y 2 ; : : :] are almost orthogonal. The reason is that if we pro ject x and y onto any of the