Methods · Clustering · Clustering

K-Medoids (PAM) Clustering

K-medoids clustering, commonly fitted with the PAM (Partitioning Around Medoids) algorithm, partitions observations into k clusters each represented by an actual data point that minimizes total dissimilarity to its members.

K-메도이드 군집분석은 흔히 PAM 알고리즘으로 적합하며, 관측값을 k개 군집으로 나누되 각 군집을 구성원과의 총 비유사도가 최소인 실제 관측값으로 대표한다.

How do I cluster observations in a way that is robust to outliers or works with any distance measure?

이상치에 강하거나 어떤 거리척도로도 쓸 수 있는 군집분석은 어떻게 하나요?

K-medoids clustering with the PAM algorithm groups observations around representative data points rather than averages, which makes it less sensitive to outliers than k-means. It also accepts any dissimilarity, such as Gower distance for mixed numeric and categorical variables.

When to use K-Medoids (PAM) Clustering

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

K-medoids clustering (PAM) yielded [k] clusters with an average silhouette width of [value].

Related methods

Run K-Medoids (PAM) Clustering on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns
Price
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
Python results are cross-checked against R reference outputs in every deployment
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 Q31004 · Reviewed 2026-10-25