X is a metric space if d: X \times X \to \mathbb R s.t.:
v, w \in \mathbb R^n given S = \{v_1, \cdots, v_N\} \subset \mathbb R^n, we can form the matrix
\begin{bmatrix} d(v_1, v_1) & \cdots & d(v_1, v_N) \\ \vdots & \ddots & \vdots \\ d(v_N, v_1) & \cdots & d(v_N, v_N) \\ \end{bmatrix}
A dissimilarity matrix is a nonnegative symmetric matrix which has zeroes along the diagonal.
Let D: X \times X \to \mathbb [0; \infty) for a finite set X, it
Dissimilarity space is a pair (X, D) where X and D are defined above.
Given a n \times n dissimilarity matrix interpreted as a dissimilarity measure on a set of points S = \{x_1, \cdots, x_n\} MDS produces an embedding of S in the Euclidean \mathbb R^d space for some d such that the loss function
\sum_{i<j}(||\tilde x_i - \tilde x_j|| - d(x_i, x_j))^2
is minimized, where \tilde x_i denotes the vector in \mathbb R^d corresponding to x_i \in S.
Two points x, x' are in the same cluster iff there is a sequence x_0, \cdots, x_n of elements of X with the properties