25 / (2 * log(2))[1] 18.03369
Study time: about 3 hours. Theory only — no coding in the exam. Largest DR question bank.
A SOM places a fixed grid of nodes in map space (usually 2-D). Each node j also owns a prototype \mathbf{m}_j in data space (same dimension p as the features).
An observation is mapped to its best matching unit (BMU): the node whose prototype is closest in data space.
This “neighbourhood” lives on the grid. An ISOMAP neighbourhood lives among data points. Same word, different geometry.
The plotting axes are fixed by the grid. An outlier does not stretch a displayed axis the way it can in PCA. Large variance differences between variables also cannot directly stretch map axes. Movement across the grid is not a single linear combination of variables (unlike a PCA axis): different regions can change different features.
When observation \mathbf{x}_i has BMU b_i, every node j moves toward \mathbf{x}_i:
\Delta\mathbf{m}_j = \alpha_t\, h_{b_i j}(t)\,(\mathbf{x}_i-\mathbf{m}_j).
Early training: larger \alpha_t and wider neighbourhood → broad organisation. Later: both shrink → local refinement.
A node with no assigned observations still has a prototype: neighbours’ BMUs pull it. Empty nodes arise when the grid is larger than the data need, or when surrounding prototypes “average out” a location.
h_{b_i j}(t)=\exp\!\Bigl(-\frac{\|\boldsymbol{\ell}_{b_i}-\boldsymbol{\ell}_j\|^2}{2\sigma^2}\Bigr), \quad \alpha_t=0.5, \quad \mathbf{x}_i-\mathbf{m}_j=\begin{pmatrix}0.4\\-0.1\end{pmatrix}, \quad \boldsymbol{\ell}_{b_i}=\begin{pmatrix}1\\2\end{pmatrix}, \quad \boldsymbol{\ell}_j=\begin{pmatrix}5\\5\end{pmatrix}.
Target change: (0.1,-0.025)'.
From the first component: 0.1=0.5\cdot h\cdot 0.4\Rightarrow h=0.5.
\|\boldsymbol{\ell}_{b_i}-\boldsymbol{\ell}_j\|^2=(1-5)^2+(2-5)^2=25.
\exp(-25/(2\sigma^2))=0.5\Rightarrow\sigma^2=25/(2\ln 2)\approx 18.03.
25 / (2 * log(2))[1] 18.03369
Both use prototypes. K-means updates a centroid using only its own members. SOM prototypes are also pulled by neighbouring BMUs — a restricted k-means that cannot match within-node data as freely because topology is preserved.
The two errors complement each other: good quantisation with bad topography (or the reverse) is an incomplete story.
SOM compares observations to a fixed number of prototypes. It need not store all n(n-1)/2 pairwise observation dissimilarities (unlike MDS).
SOM node: learnt prototype + fixed grid slot; many observations may map to it.
ISOMAP graph node: one actual observation.
Does an empty node have a prototype? How?
What is the best matching unit?
With the bank’s numbers, \sigma^2?
Define both and how they complement.
In what sense is a SOM restricted k-means?