ArticleslgStudy

computer science

SUBCLU

SUBCLU is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand SUBCLU rather than just read about it. In short: SUBCLU is an algorithm for clustering high-dimensional data by Karin Kailing, Hans-Peter Kriegel and Peer Kröger. It is a subspace clustering algorithm that builds on the density-based clustering algorithm DBSCAN.

Key takeaways

  • SUBCLU belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect SUBCLU to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of SUBCLU from memory before moving on to harder problems.

Reference excerpt

SUBCLU is an algorithm for clustering high-dimensional data by Karin Kailing, Hans-Peter Kriegel and Peer Kröger. It is a subspace clustering algorithm that builds on the density-based clustering algorithm DBSCAN. SUBCLU can find clusters in axis-parallel subspaces, and uses a bottom-up, greedy strategy to remain efficient.

Approach SUBCLU uses a monotonicity criteria: if a cluster is found in a subspace S, then each subspace T⊆S also contains a cluster. However, a cluster C⊆DB in subspace S is not necessarily a cluster in T⊆S, since clusters are required to be maximal, and more objects might be contained in the cluster in T that contains C. However, a density-connected set in a subspace S is also a density-connected set in T⊆S. This downward-closure property is utilized by SUBCLU in a way similar to the Apriori algorithm: 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 k+1-dimensional candidate subspaces by combining k-dimensional subspaces with clusters sharing k−1 attributes. After pruning irrelevant candidates, DBSCAN 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, only the points known to belong to clusters in one k-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 k+1-dimensional cluster anyway.

Pseudocode SUBCLU takes two parameters, ϵ and MinPts, which serve the same role as in DBSCAN. In a first step, DBSCAN is used to find 1D-clusters in each subspace spanned by a single attribute: 𝚂𝚄𝙱𝙲𝙻𝚄(DB,eps,MinPts)

S1:=∅︀ C1:=∅︀ 𝚏𝚘𝚛𝚎𝚊𝚌𝚑a∈Attributes C{a}=𝙳𝙱𝚂𝙲𝙰𝙽(DB,{a},eps,MinPts) 𝚒𝚏(C{a}≠∅︀) S1:=S1∪{a} C1:=C1∪C{a} 𝚎𝚗𝚍𝚒𝚏 𝚎𝚗𝚍𝚏𝚘𝚛 // In a second step, k+1-dimensional clusters are built from k-dimensional ones: k:=1 𝚠𝚑𝚒𝚕𝚎(Ck≠∅︀) 𝙲𝚊𝚗𝚍𝚂k+1:=𝙶𝚎𝚗𝚎𝚛𝚊𝚝𝚎𝙲𝚊𝚗𝚍𝚒𝚍𝚊𝚝𝚎𝚂𝚞𝚋𝚜𝚙𝚊𝚌𝚎𝚜(Sk) 𝚏𝚘𝚛𝚎𝚊𝚌𝚑cand∈𝙲𝚊𝚗𝚍𝚂k+1 𝚋𝚎𝚜𝚝𝚂𝚞𝚋𝚜𝚙𝚊𝚌𝚎:=mins∈Sk∧s⊂cand∑Ci∈Cs|Ci| Ccand:=∅︀ 𝚏𝚘𝚛𝚎𝚊𝚌𝚑𝚌𝚕𝚞𝚜𝚝𝚎𝚛cl∈C𝚋𝚎𝚜𝚝𝚂𝚞𝚋𝚜𝚙𝚊𝚌𝚎 Ccand:=Ccand∪𝙳𝙱𝚂𝙲𝙰𝙽(cl,cand,eps,MinPts) 𝚒𝚏(Ccand≠∅︀) Sk+1:=Sk+1∪cand Ck+1:=Ck+1∪Ccand 𝚎𝚗𝚍𝚒𝚏 𝚎𝚗𝚍𝚏𝚘𝚛 𝚎𝚗𝚍𝚏𝚘𝚛 k:=k+1 𝚎𝚗𝚍𝚠𝚑𝚒𝚕𝚎 𝚎𝚗𝚍 The set Sk contains all the k-dimensional subspaces that are known to contain clusters. The set Ck contains the sets of clusters found in the subspaces. The bestSubspace 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 generates the frequent itemset candidates: Pairs of the k-dimensional subspaces are compared, and if they differ in one attribute only, they form a k+1-dimensional candidate. However, a number of irrelevant candidates are found as well; they contain a k-dimensional subspace that does not contain a cluster. Hence, these candidates are removed in a second step: 𝙶𝚎𝚗𝚎𝚛𝚊𝚝𝚎𝙲𝚊𝚗𝚍𝚒𝚍𝚊𝚝𝚎𝚂𝚞𝚋𝚜𝚙𝚊𝚌𝚎𝚜(Sk)

𝙲𝚊𝚗𝚍𝚂k+1:=∅︀ 𝚏𝚘𝚛𝚎𝚊𝚌𝚑s1∈Sk 𝚏𝚘𝚛𝚎𝚊𝚌𝚑s2∈Sk 𝚒𝚏(s1𝚊𝚗𝚍s2𝚍𝚒𝚏𝚏𝚎𝚛𝚒𝚗𝚎𝚡𝚊𝚌𝚝𝚕𝚢𝚘𝚗𝚎𝚊𝚝𝚝𝚛𝚒𝚋𝚞𝚝𝚎) 𝙲𝚊𝚗𝚍𝚂k+1:=𝙲𝚊𝚗𝚍𝚂k+1∪{s1∪s2} 𝚎𝚗𝚍𝚒𝚏 𝚎𝚗𝚍𝚏𝚘𝚛 𝚎𝚗𝚍𝚏𝚘𝚛 // Pruning of irrelevant candidate subspaces 𝚏𝚘𝚛𝚎𝚊𝚌𝚑cand∈𝙲𝚊𝚗𝚍𝚂k+1 𝚏𝚘𝚛𝚎𝚊𝚌𝚑k-𝚎𝚕𝚎𝚖𝚎𝚗𝚝s⊂cand 𝚒𝚏(s∉Sk) 𝙲𝚊𝚗𝚍𝚂k+1=𝙲𝚊𝚗𝚍𝚂k+1∖{cand} 𝚎𝚗𝚍𝚒𝚏 𝚎𝚗𝚍𝚏𝚘𝚛 𝚎𝚗𝚍𝚏𝚘𝚛 𝚎𝚗𝚍

Availability An example implementation of SUBCLU is available in the ELKI framework.

References

Worked examples

Example 1 — a first encounter with SUBCLU

Start with the simplest possible case. Write down what SUBCLU claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to SUBCLU before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about SUBCLU ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of SUBCLU

In research
SUBCLU appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses SUBCLU in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
SUBCLU is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cluster analysis algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for SUBCLU outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “SUBCLU” →

How to study SUBCLU in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what SUBCLU means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain SUBCLU out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is SUBCLU in simple terms?

SUBCLU is an algorithm for clustering high-dimensional data by Karin Kailing, Hans-Peter Kriegel and Peer Kröger. It is a subspace clustering algorithm that builds on the density-based clustering algorithm DBSCAN.

Why does SUBCLU matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study SUBCLU?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on SUBCLU.

Tags

  • Cluster analysis algorithms

Keep exploring