Search code examples
rmachine-learningneural-networkdata-miningcluster-analysis

How to set number of clusters in Kohonen SOM in R?


I have a data set and want to cluster by Kohonen SOM in R. I want to vary number of clusters from 2 to 40, but I didn't find package, where I can set the number of clusters before clustering, as parameter.

Can you help me to find appropriate package or library or tool, where I can set the number of clusters of Kohonen SOM, as parameter?


Solution

  • SOM is a model for data visualization/feature mapping in wich you reduce the dimensionality of your data to 1/2/3 dimensions by learning the topology of the input space with a neural-network of regular shape.

    You can perform clustering on the space learned by a SOM using classical algorithms, or visually inspect the U-Matrix

    Take a look here, here, or here, for other info.