Questions tagged [som]

A self-organizing map (SOM) is a type of artificial neural network that is trained using unsupervised learning to produce a map reprensenting the input space of the training samples.

A self-organizing map (SOM) is a type of artificial neural network that is trained using unsupervised learning to produce a map representing the input space of the training samples. Also, some supervised and semi-supervised SOMs exist.

187 questions
1
vote
2 answers

SOM map - R - Kohonen pack - clustering

I try SOM maps and clustering in R. I use this tutorial : https://www.r-bloggers.com/self-organising-maps-for-customer-segmentation-using-r/ ... SOM maps work fine, but when I try clustering this error : > mydata <- som_model$codes > wss <-…
caroline
  • 161
  • 2
  • 15
1
vote
0 answers

How to plot several lines plots inside each tile of a SOM?

I'm currently working on SOM vizualisations. This is a SOM map with codes plots generated by using kohonen package Shortly, each circle is a neuron and inside each neuron we plot all the variable in a spectra shape. This plot is obtain by…
Olorin.G
  • 37
  • 7
1
vote
1 answer

mvpa2: restore SOM from Kohonen layer

I'm trying to implement self-organising maps in Python using pymvpa2 SOM mapper. It works just fine, but how do I save the resulting SOM? h5save didn't work for me and I started wondering, if I can create an empty SOM instance and then attach a…
lotrus28
  • 848
  • 2
  • 10
  • 19
1
vote
1 answer

Unused arguments in SOM function

This is my first post and I am newbie in R. I'm trying to train a Self-Organizing Map. My data is a matrix of 2304 instances with 7 features each instance ([2304x7]) Following the example codes with (like wines' dataset) I have no problem but when I…
1
vote
0 answers

Can I normalise subsets of training data for a neural network?

Say I have a training set with 50 vectors. I split this set into 5 sets each with 10 vectors and then I scale the vectors in each subset and normalise the subsets. Then I train my ANN with each vector from each subset. After training is complete, I…
1
vote
1 answer

Error in !toroidal : invalid argument type in R with som package

I am trying to use som package in R and even though I am using the example data that comes with som package, it is still giving me an error. When i tried the same example dataset yesterday it worked. I am confused now.. Here is the…
upendra
  • 2,141
  • 9
  • 39
  • 64
1
vote
1 answer

How Implement TSP in Self Organizing-Maps

I wanna ask about implement TSP in Self Organizing Maps (SOM). How the SOM algorithm/working for get result of path for TSP?
Dave Win
  • 11
  • 2
1
vote
1 answer

Error: Argument must be a dense tensor: range(2, 3) - got shape [1], but wanted []

I am trying to run an a code in Python for self-organizing map (SOM), which uses TensorFlow. I got the code from here, but when I run it, I get an error: Error: Argument must be a dense tensor: range(2, 3) - got shape 1, but wanted [] I think…
Szpaqn
  • 545
  • 5
  • 17
1
vote
1 answer

Stable state of a Self Organizing Map

How can I Identify the stable state of a self-organizing map during training? I need this to control my Iterations (i.e to continue or stop training when stable). I have tried looking at percentage change of topological error and also mean…
Young_DataAnalyst
  • 263
  • 2
  • 4
  • 11
1
vote
0 answers

python kohonen.py algorithm dimension and shape definition

I am trying to use this python library to do a kohonen map. However I don't know what these parameters really are? For example: https://github.com/lmjohns3/kohonen/blob/master/kohonen/kohonen.py#L150 what are dimension and shape? Can somebody help…
passion
  • 1,000
  • 6
  • 20
  • 47
1
vote
0 answers

Empty nodes when creating a SOM in R

I am trying to create a SOM map based on records with different discrete classifications (tags) like the example below Record Tag1 Tag2 Tag3 Tag4 3555 1 0 0 0 6447 …
sebastian-montero
  • 379
  • 1
  • 4
  • 18
1
vote
1 answer

Self organized map understaning

I have a self organized map created a Som_pak-3.1 here If I have three different type of elements, and they are different. Why the elements are not in different parts of the map? Why the "A", "B" and "C" are in many many cases together at the same…
1
vote
1 answer

Change dimensions of plot MATLAB

I'm trying to visualize SOM neural network. There is a plotsom function for this. It works but it stretches the plot through one dimension: original plot: and different views (X-Y ; X-Z and Y-Z): I don't understand how to make it's axis fairly…
Mikhail_Sam
  • 10,602
  • 11
  • 66
  • 102
1
vote
1 answer

Plotting a SOM: how to change the colours?

I have the following dataset. > ds dataset_clustering.CODICE_DOMANDA FAT_AZI_MLN IMPORTO_PROGETTO NUM_ADDETTI Modelli Formazione 22870 22870 4.855849e-03 0.25386313 0.001403368 0 0 …
Andrea Ianni
  • 829
  • 12
  • 24
1
vote
1 answer

How to plot a surface chart from a array of frequency

I am trying to implement a SOM (self-organizing map) in anaconda 2, and my operating system is windows 10. After pouring iris dataset in, I got a array as following: matrix([[ 3., 6., 4., 0., 10.], [ 1., 9., 4., 18., 13.], [ …
Nia
  • 99
  • 1
  • 2
  • 6