mvpa2.mappers.som.SimpleSOMMapper

Inheritance diagram of SimpleSOMMapper

class mvpa2.mappers.som.SimpleSOMMapper(kshape, niter, learning_rate=0.005, iradius=None)

Mapper using a self-organizing map (SOM) for dimensionality reduction.

This mapper provides a simple, but pretty fast implementation of a self-organizing map using an unsupervised training algorithm. It performs a ND -> 2D mapping, which can for, example, be used for visualization of high-dimensional data.

This SOM implementation uses squared Euclidean distance to determine the best matching Kohonen unit and a Gaussian neighborhood influence kernel.

Notes

Available conditional attributes:

  • calling_time+: Time (in seconds) it took to call the node
  • raw_results: Computed results before invoking postproc. Stored only if postproc is not None.
  • training_time+: Time (in seconds) it took to train the learner

(Conditional attributes enabled by default suffixed with +)

Parameters :

kshape : (int, int)

Shape of the internal Kohonen layer. Currently, only 2D Kohonen layers are supported, although the length of an axis might be set to 1.

niter : int

Number of iteration during network training.

learning_rate : float

Initial learning rate, which will continuously decreased during network training.

iradius : float or None

Initial radius of the Gaussian neighborhood kernel radius, which will continuously decreased during network training. If None (default) the radius is set equal to the longest edge of the Kohonen layer.

enable_ca : None or list of str

Names of the conditional attributes which should be enabled in addition to the default ones

disable_ca : None or list of str

Names of the conditional attributes which should be disabled

K

Provide access to the Kohonen layer.

With some care.

NeuroDebian

NITRC-listed