k-medians clustering
Partitioning that assigns observations by city-block distance and uses coordinate-wise medians as centers.
k-중앙값 군집 — 시가지 거리로 관측값을 배정하고 좌표별 중앙값을 중심으로 쓰는 분할 군집입니다.
Runs K-Means Clustering with: norm set to “l1”.
기본 방법(K-Means Clustering)에 다음 설정을 고정해 실행합니다: norm = l1.
My data have outliers that pull k-means centres around; how do I cluster with medians instead?
이상값 때문에 k-평균 중심이 흔들리는데, 평균 대신 중앙값으로 군집하려면 어떻게 하나요?
Observations are assigned by city-block distance and centres are coordinate-wise medians, which are less sensitive to outliers than means. Behind it is K-Means Clustering with norm = l1 already set; checks and report are the same as for K-Means Clustering.
When to use k-medians clustering
- Data contain outliers or heavy tails.
- City-block distance makes sense for your variables.
When to use something else
- Data are roughly normal within clusters; ordinary k-means is more efficient.
- You want to try other settings side by side; open K-Means Clustering and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with predictor (feature) columns.
Assumptions and requirements
The same as for K-Means Clustering:
- Continuous variables, standardized to comparable scales
- Number of clusters specified in advance
- Roughly spherical clusters of similar size
- Multiple random starts to avoid poor local solutions
What the analysis reports
The output of K-Means Clustering, with the preset shown in the settings:
- Cluster assignment for each observation
- Cluster centroids (profiles)
- Within-cluster sum of squares and elbow plot
- Average silhouette width
- Cluster sizes
How this is validated
검증 근거
This variant runs the same engine as K-Means Clustering with the settings above fixed, so the evidence is that method’s: report tables cross-checked against r; no reference comparison of the main estimates yet. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 K-Means Clustering와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of K-Means Clustering
- Lp-norm clustering
- L-infinity (midrange) clustering
- MacQueen running-means k-means
- k-means with outlier distance threshold
- k-means cluster summary statistics
- Mini-batch k-means
- Spherical (cosine) k-means
- Ward-initialised k-means (two-step clustering)
- Kernel k-means
Run this variant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- Same as K-Means Clustering: 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Report tables cross-checked against R; no reference comparison of the main estimates yet, as recorded for K-Means Clustering (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.