Lably
Skip to content

Medoid

Objects maximally similar to other objects in a dataset

  • 10 min read
  • 6 chapters

Related on Lably

Through Data set, Average and Centroid

For some data sets there may be more than one medoid, as with medians. A common application of the medoid is the k-medoids clustering algorithm, which is similar to the k-means algorithm but works when a mean or centroid is not definable. This algorithm basically works as follows. First, a set of medoids is chosen at random. Second, the distances to the other points are computed. Third, data are clustered according to the medoid they are most similar to. Fourth, the medoid set is optimized via an iterative process.

Note that a medoid is not equivalent to a median, a geometric median, or centroid. A median is only defined on 1-dimensional data, and it only minimizes dissimilarity to other points for metrics induced by a norm (such as the Manhattan distance or Euclidean distance). A geometric median is defined in any dimension, but unlike a medoid, it is not necessarily a point from within the original dataset.

Definition

Let X:={x1,x2,…,xn} be a set of n points in a space with a distance function d. Medoid is defined as

xmedoid=arg⁡miny∈X∑i=1nd(y,xi).

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Statistics