Download PDF, ~4.3MB

Transcript
1
Introduction
The goal of this semester project was to implement and test two algorithms that deal with the clustering problem. That is, the problem of
grouping n possibly related items into k disjoint clusters. It goes without
saying that related items should be grouped together, whereas unrelated
items should be distributed into different clusters. This kind of problem
can, as an example, be motivated by the task of thematically grouping
documents in a newsgroup. Given a collection of sports-related newsletters, what are all the documents concerning basketball? This is one of
the questions that one is hoping to answer reliably and efficiently.
Such a partitioning can be modeled as a graph. The elements become
the vertices of the graph and two vertices are connected by an edge if
and only if the associated elements belong to the same cluster. From this
graph we can derive a similarity matrix, which is square and symmetric.
In our case we use the n × n adjacency matrix, having zeros between
elements that do not belong to the same cluster and ones between elements that do. In the model of planted partitions, that we will use,
the algorithms do not have access to the adjacency matrix, or else the
reconstruction will be trivial. Instead the model assumes that the matrix
representing the perfect clusters is disturbed by changes that occur with
a certain probability, very much like one would imagine the clustering
information to be when derived from a loosely related set of elements
such as a collection of articles.
Spectral clustering tries to exploit the spectral properties of the similarity matrix in order to reconstruct the clusters only from that information. Important parameters are, of course, the probabilities by which
the matrix is changed, but also the size and the number of clusters.
The idea behind hierarchical clustering is very simple. The reconstruction of the clusters is divided into different steps that form a hierarchy of
processing. The two algorithms presented, ClusterHierarchical and
SpectralReconstruct, are intended to be applied to the data in sequential order.
The first step is done by ClusterHierarchical, which tries to sort out
elements that are not classifiable, that is which can not be associated with
any of the clusters. The algorithm divides the elements into two different
groups and only clears one of these groups for the further processing by
the following steps. The elements from the other group are discarded. In
our model we will call this the planted partition detection problem, or
3