Skip to content

Methods · Clustering · Categorical clustering

ROCK Clustering for Categorical Data

ROCK clusters records made of categorical attributes by counting links: two records are neighbours when enough of their attribute values coincide, and the link between them is the number of neighbours they share. Clusters are merged agglomeratively according to a goodness measure that rewards many links relative to what the cluster sizes would produce by chance.

범주형 속성으로 된 기록을 자카드 유사도로 이웃 여부를 정하고, 두 기록이 공유하는 이웃 수(링크)를 바탕으로 적합도가 가장 높은 군집부터 합치는 응집형 군집 방법입니다.

How can I group records described only by categories, such as survey answers or purchased items, so that groups are held together by many shared neighbours rather than by a few chance matches?

범주로만 된 응답이나 구매 기록을 우연한 일치가 아니라 많은 공통 이웃으로 묶으려면 어떻게 해야 할까요?

Records are compared by Jaccard similarity of their attribute values, neighbours are pairs above the threshold theta, and links count common neighbours. Clusters with the highest normalised link count merge first until the requested number remains; records without neighbours are outliers, and records outside the sample join the cluster where they have the most neighbours relative to its size.

When to use ROCK Clustering for Categorical Data

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

ROCK clustering with theta = [value] gave [value] clusters of sizes [value]; [value] records had no neighbours and were treated as outliers.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run ROCK Clustering for Categorical Data on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q31034 · Reviewed 2026-10-25