Download An Introduction to Cluster Analysis for Data Mining

Document related concepts

Principal component analysis wikipedia , lookup

Expectation–maximization algorithm wikipedia , lookup

Human genetic clustering wikipedia , lookup

Nonlinear dimensionality reduction wikipedia , lookup

K-nearest neighbors algorithm wikipedia , lookup

K-means clustering wikipedia , lookup

Nearest-neighbor chain algorithm wikipedia , lookup

Cluster analysis wikipedia , lookup

Transcript
Unlike traditional hierarchical clustering techniques, Chameleon will merge more
than one pair of clusters during a single pass. Another difference (for the first merging
scheme) is that Chameleon will reach a point at which it will stop merging clusters.
(Recall that traditional agglomerative hierarchical algorithms continue merging until only
one all-inclusive cluster remains.) If desired, the thresholds can be relaxed and the
clustering resumed. The second merging scheme will automatically merge to a single
cluster.
If m is the number of data points and p is the number of partitions the complexity
of Chameleon is O(mp + mlog m + p2log p). However, this depends on being able to
build the k-nearest neighbor graph in O(mlog m) time. This, in turn, requires the use of a
k-d tree or a similar type of data structure. Such data structures only work well for lowdimensional data sets, and thus, for higher dimensional data sets the complexity of
Chameleon becomes O(m2).
In summary, the steps of the Chameleon algorithms are:
1) Build a k-nearest neighbor graph.
2) Partition the graph into partitions using a multilevel graph-partitioning
algorithm.
3) Perform a hierarchical clustering starting with the partitions. This hierarchical
clustering will merge the clusters which best preserve the cluster self-similarity with
respect to relative interconnectivity and relative closeness.
4.3. Density Based Clustering
CLIQUE and MAFIA are also density based clustering schemes, but because they
are specifically designed for handling clusters in high-dimensional data, we discuss them
in sections 5.2.1 and 5.2.2, respectively.
4.3.1.
DBSCAN
DBSCAN [EKSX96] is a density based clustering algorithm that works with a
number of different distance metrics. When DBSCAN has processed a set of data points,
a point will either be in a cluster or will be classified as noise.
DBSCAN is based on the concepts of a point being “density reachable” and
“density connected.” These concepts are explained in detail in [EKSX96]. What follows
is a more basic description.
Conceptually, data points fall into three classes:
a) Core points. These are points that are at the interior of a cluster. A point is an
interior point if there are enough points in its neighborhood, i.e., if the number of
points within a given neighborhood around the point, as determined by the distance
function and a supplied distance parameter, exceeds a certain threshold - also a
supplied parameter. If two core points belong to each other’s neighborhoods, then the
core points belong to the same cluster.
b) Border points. A border point is a point that is not a core point, i.e., there are not
enough points in its neighborhood, but it falls within the neighborhood of a core
point. Note that a border point may fall within the neighborhoods of core points from
several different clusters. If so, the cluster that the border point is grouped with will
depend on the details of the DBSCAN algorithm, and is order dependent.
32