SUBCLU is an algorithm for
clustering high-dimensional data Clustering high-dimensional data is the cluster analysis of data with anywhere from a few dozen to many thousands of dimensions. Such high-dimensional spaces of data are often encountered in areas such as medicine, where DNA microarray technology ...
by Karin Kailing,
Hans-Peter Kriegel
Hans-Peter Kriegel (1 October 1948, Germany) is a German computer scientist and professor at the Ludwig Maximilian University of Munich and leading the Database Systems Group in the Department of Computer Science. He was previously professor at ...
and Peer Kröger.
[Karin Kailing, ]Hans-Peter Kriegel
Hans-Peter Kriegel (1 October 1948, Germany) is a German computer scientist and professor at the Ludwig Maximilian University of Munich and leading the Database Systems Group in the Department of Computer Science. He was previously professor at ...
and Peer Kröger.
Density-Connected Subspace Clustering for High-Dimensional Data
'. In: ''Proc. SIAM Int. Conf. on Data Mining (SDM'04)'', pp. 246-257, 2004. It is a
subspace clustering Clustering high-dimensional data is the cluster analysis of data with anywhere from a few dozen to many thousands of dimensions. Such high-dimensional spaces of data are often encountered in areas such as medicine, where DNA microarray technology c ...
algorithm that builds on the density-based clustering algorithm
DBSCAN
Density-based spatial clustering of applications with noise (DBSCAN) is a data clustering algorithm proposed by Martin Ester, Hans-Peter Kriegel, Jörg Sander and Xiaowei Xu in 1996.
It is a density-based clustering non-parametric algorithm: gi ...
. SUBCLU can find
clusters in
axis-parallel
In geometry, an axis-aligned object (axis-parallel, axis-oriented) is an object in ''n''-dimensional space whose shape is aligned with the coordinate axes of the space.
Examples are axis-aligned rectangles (or hyperrectangles), the ones with edge ...
subspaces, and uses a
bottom-up,
greedy strategy to remain efficient.
Approach
SUBCLU uses a
monotonicity
In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves or reverses the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of orde ...
criteria: if a cluster is found in a subspace
, then each subspace
also contains a cluster. However, a cluster
in subspace
is not necessarily a cluster in
, since clusters are required to be maximal, and more objects might be contained in the cluster in
that contains
. However, a
density-connected set in a subspace
is also a density-connected set in
.
This ''downward-closure property'' is utilized by SUBCLU in a way similar to the
Apriori algorithm
AprioriRakesh Agrawal and Ramakrishnan SrikanFast algorithms for mining association rules Proceedings of the 20th International Conference on Very Large Data Bases, VLDB, pages 487-499, Santiago, Chile, September 1994. is an algorithm for frequent ...
: first, all 1-dimensional subspaces are clustered. All clusters in a higher-dimensional subspace will be subsets of the clusters detected in this first clustering. SUBCLU hence recursively produces
-dimensional candidate subspaces by combining
-dimensional subspaces with clusters sharing
attributes. After pruning irrelevant candidates,
DBSCAN
Density-based spatial clustering of applications with noise (DBSCAN) is a data clustering algorithm proposed by Martin Ester, Hans-Peter Kriegel, Jörg Sander and Xiaowei Xu in 1996.
It is a density-based clustering non-parametric algorithm: gi ...
is applied to the candidate subspace to find out if it still contains clusters. If it does, the candidate subspace is used for the next combination of subspaces. In order to improve the runtime of
DBSCAN
Density-based spatial clustering of applications with noise (DBSCAN) is a data clustering algorithm proposed by Martin Ester, Hans-Peter Kriegel, Jörg Sander and Xiaowei Xu in 1996.
It is a density-based clustering non-parametric algorithm: gi ...
, only the points known to belong to clusters in one
-dimensional subspace (which is chosen to contain as little clusters as possible) are considered. Due to the downward-closure property, other point cannot be part of a
-dimensional cluster anyway.
Pseudocode
SUBCLU takes two parameters,
and
, which serve the same role as in
DBSCAN
Density-based spatial clustering of applications with noise (DBSCAN) is a data clustering algorithm proposed by Martin Ester, Hans-Peter Kriegel, Jörg Sander and Xiaowei Xu in 1996.
It is a density-based clustering non-parametric algorithm: gi ...
. In a first step, DBSCAN is used to find 1D-clusters in each subspace spanned by a single attribute:
:
:
:
::
::
:::
:::
::
:
: // In a second step,
-dimensional clusters are built from
-dimensional ones:
:
:
::
::
:::
:::
:::
::::
::::
:::::
:::::
::::
:::
::
::
:
The set
contains all the
-dimensional subspaces that are known to contain clusters. The set
contains the sets of clusters found in the subspaces. The
is chosen to minimize the runs of DBSCAN (and the number of points that need to be considered in each run) for finding the clusters in the candidate subspaces.
Candidate subspaces are generated much alike the
Apriori algorithm
AprioriRakesh Agrawal and Ramakrishnan SrikanFast algorithms for mining association rules Proceedings of the 20th International Conference on Very Large Data Bases, VLDB, pages 487-499, Santiago, Chile, September 1994. is an algorithm for frequent ...
generates the frequent itemset candidates: Pairs of the
-dimensional subspaces are compared, and if they differ in one attribute only, they form a
-dimensional candidate. However, a number of irrelevant candidates are found as well; they contain a
-dimensional subspace that does not contain a cluster. Hence, these candidates are removed in a second step:
:
:
::
:::
::::
:::
::
:
:''// Pruning of irrelevant candidate subspaces''
:
::
:::
::::
:::
::
:
Availability
An example implementation of SUBCLU is available in the
ELKI framework.
References
Cluster analysis algorithms