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
0
votes
1 answer

Automatically select SOM_GRID in R

I am trying to run SOM algorithm in R using Kohenen package. In this I have to define xdim, ydim dimension manually. Refer below code: som_grid <- somgrid(xdim=5, ydim=6, topo="hexagonal") som_model <- som(data_train_matrix, …
0
votes
1 answer

How is the SOM working?

I know the basic working of self organizing maps but I am having a hard time visualizing them. Let's say I have a 2*2 grid an I have mapped a data of 200*1000 on it. Can I access the 200 data points in my training set again using my grid?If so then…
Rohan Akut
  • 33
  • 1
  • 7
0
votes
0 answers

U-Matrix Code In Matlab

I am using Learning vector quantization neural network in Matlab. Is there any code to achieve u-matrix? For example after this code [x,t] = iris_dataset; net = lvqnet(10); net.trainParam.epochs = 50; net = train(net,x,t); view(net) y =…
DemirMengu
  • 51
  • 3
0
votes
0 answers

Creating an SOM Hexagonal Map in R

I am trying to create a SOM Hexagonal Map in R using the Kohonen Package. I've encountered a couple of problems while running this package. Sometimes I am receiving a message that says: "Error in sample.int(length(x), size, replace, prob) : …
0
votes
1 answer

SOM map full understanding

I have some enqueries to fully understand how SOM maps work, if you check this SOM map: 1 - Why there are some points in the map that doesn’t have any label (A, B or C)? 2 - I understand that in each node there are more than 1 elements. How many…
Jack Green
  • 141
  • 2
  • 12
0
votes
1 answer

SOM and the neighbour distance

In a SOM how does the neighbour distance work? 1- If two nodes are close in the map and their distance is small then they have a similar color, is that right? 2- If two nodes are close in the map but their distance is big then they have a…
Jack Green
  • 141
  • 2
  • 12
0
votes
0 answers

Vector Quantization+Som+show sub image with determined labels

i wrote a code that read image and cluster with vector Quantization learned with Som network,now i have coodbook matrix , how can i show sub images of original image with determined coodbook
0
votes
1 answer

How do I convert a multidimensional vector to RGB values for illustration?

Sorry. Im new here at stackoverflow. I am working with Self-Organizing Maps (SOM) which deals with projecting a high dimensional data in a 2D plane where each "nodes" or boxes in this plane contains weights that are relatively small in values…
0
votes
1 answer

How can I find out which data record goes into which cluster in R using kohonen and means

I have clustered my data with an SOM and kmeans install.packages("kohonen") library(kohonen) set.seed(7) som_grid <- somgrid(xdim = 8, ydim=8, topo="hexagonal") som_model <- som(umfrage_veraendert_kurz, grid=som_grid, …
Dr. Dot
  • 19
  • 4
0
votes
1 answer

Self organizing maps in MATLAB

I am trying to cluster some data that seems to be separable using COSINE instead of Euclidean distance. How can I use MATLAB's selforgmap for this purpose? I don't believe it is through 'distanceFcn' option. x = simplecluster_dataset; net =…
0
votes
0 answers

How can I test a trained self-organizing map in R using the kohonen library?

I am using the kohonen library in R to train a self-organizing map using some data. I split the data set as 60/40 for training/testing purposes. How can I run the trained model with testing data? I can't find a function in the documentation to do…
user_dhrn
  • 557
  • 1
  • 5
  • 18
0
votes
1 answer

Self Organizing Network Plot Subset of Codes

I have used the Kohonen package in R to apply SOM to a genomics dataset I have. The SOM has 55 variables. I want to plot a subset of the codes for these variables as fanplots. For example, just using the wine dataset innate in R:…
0
votes
1 answer

Speech recognition using kohonen network with MFCC features. How I set a distance between the neurons and their weights?

I don't know how to set a localization of each neuron in map. This is a neuron and map: typedef struct _neuron { mfcc_frame *frames; char *name; double *weights; int num_weights; int x; int y; } neuron; typedef struct…
0
votes
2 answers

What is the reason of splitting data to training/testing in SOM?

I am doing a research and reading some papers using SOM algorithm. I do not understand the logic that people splitting their dataset into training/test sets for SOM. I mean, for example while C4.5 Decision Tree is used, a trained structure includes…
0
votes
1 answer

Self Organizing Map (SOM) map rotation in R

I'm quite new to SOM. I am using Kohonen package in R to build my SOM. In the counts plot, could find a very dense node at one of the corners of the map. This dense node at times shift to another corner at random, when I retrain the network. The map…
el.diablo
  • 21
  • 7