Parametrized Self-Organizing Maps for Vision Learning Tasks