Basic implementation of the Generative Topographic Mapping for R.
See also the paper by Bishop, Christopher M., Markus Svensén, and Christopher KI Williams: "GTM: The generative topographic mapping." Neural computation 10.1 (1998): 215-234.
Posterior mean and posterior mode of GTM vs. regular PCA of the oilflow dataset (mapping from 12 to 2 dimensions).