Multivariate Pattern Analysis in Python |
Bases: mvpa.mappers.base.Mapper
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.
Parameters: |
|
---|
Provide access to the Kohonen layer.
With some care.
Map data from the IN dataspace into OUT space.
Mapping is performs by simple determining the best matching Kohonen unit for each data sample.
Translate a feature id into a coordinate/index in input space.
This is not meaningful in the context of SOMs.
Returns the size of the entity in input space
Returns the size of the entity in output space
Validate feature id in OUT space.
Reverse map data from OUT space into the IN space.
Limit the OUT space to a certain set of features.
This is currently not implemented. Moreover, although it is technically possible to implement this functionality, it is unsure whether it is meaningful in the context of SOMs.
Perform network training.
Parameters: | ds (Dataset) – All samples in the dataset will be used for unsupervised training of the SOM. |
---|