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
0 answers

How to calculate the topographic error for self-organising maps using the kohonen package in R?

I'm working with the kohonen package (version 3.0.11) in R for applying the self-organising maps algorithm to a large data set. In order to determine the optimal grid size, I tried to calculate both the quantisation error and the topographic error…
Gianluca
  • 5
  • 2
0
votes
0 answers

predicting dependent variable using Kohonen package / output contains NA

I have the following dataset : DB_defects_splited_pcb_type=structure(list(pcb_type = c("01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01", "01",…
Tou Mou
  • 1,270
  • 5
  • 16
0
votes
0 answers

minisom python package pca initialization code

Copied PCA initialization code from minisom package shows below. def pca_weights_init(self, data): """Initializes the weights to span the first two principal components. This initialization doesn't depend on random processes and …
JH Y
  • 75
  • 1
  • 7
0
votes
0 answers

SOM for clustering words

I have a question... I am trying to implement clustering of words in the text using COM. But the examples I found do not allow processing a large amount of data. Could you please share links to projects that have implemented this task.
0
votes
0 answers

Does the SOM clustering algorithm have cluster centers? If there is how to use matlab's SOMtoolbox package to calculate this cluster center

Does the SOM clustering algorithm have cluster centers? If there is how to use matlab's SOMtoolbox package to calculate this cluster center. I observed that the kmeans_clusters clustering function in the somtoolbox package can return the cluster…
mr yu
  • 1
0
votes
1 answer

Clustering using SOM

I have a data set consisting from 6-dimensional data points. I want to produce a self-organizing map for this data to see how my data is clustered and how many different clusters are there in my dataset. My dataset is UNLABELED. And all the examples…
0
votes
0 answers

Trouble Running WinForms Application on Debian 11 Using Mono

I am trying to run a simple Windows Forms application on a imx8m nano SOM board running Debian 11. I built the application on Windows using Visual Studio, SCP'd the .exe from the bin folder over to the board, but whenever I run it with mono…
0
votes
1 answer

Not able to refer back to genes clustered in som analysis using R's kohonen package

I am stuck in a problem, I am trying to apply SOM analysis using the kohonen package in R. The dataset I am using is a gene expression dataframe. I am using the code given below, dim(bink) [1] 401 1198 Where bink is a dataframe having expression…
0
votes
1 answer

How to solve error: "Error in storage.mode(x) <- "double" : 'list' object cannot be coerced to type 'double'" and get results

I'm trying to run some and k means analysis. But I can't solve it because there's an error code. Error in storage.mode(x) <- "double" : 'list' object cannot be coerced to type 'double' library(kohonen) cdata <- read.delim("Cluster.txt",…
Sunghee
  • 17
  • 2
0
votes
0 answers

(SOM) Weighing neighbours in a matrix, simpler way than RBF?

I've been implementing the SOM algorithm and trying to now change out functions I've used from sklearn. For a particular SOM problem, I've set a neighborhoodmap to np.array( [[[a, b] for b in range(10)] for a in range(10)] ).reshape(100,…
Cookie
  • 364
  • 1
  • 2
  • 12
0
votes
1 answer

How can I do a multiple plot with a somSC type graph?

I'm sure this is an easy one, but I dont know why this code cannot plot two graphs in the same window. nfil=5 ncol=5 set.seed(850) som <- trainSOM(x.data=datasom[3:8], dimension=c(nfil,ncol), nb.save = 100, …
0
votes
0 answers

Applying Self-Organizing Map with Python

I`m trying to apply SOM on my dataset, I firstly pre-processed the dataset that consists of 25 column and now it looks like this: The data is for electricity consumption for two years and there are 25 houses in the dataset. after preprocessing the…
Aghyad Skaif
  • 49
  • 10
0
votes
1 answer

Visualizing SOM and adding labels to the map

I have been trying to apply SOM on my dataframe, my dataframe has 25 columns where each column represents a house, each house has a values for power consumption for two years, and I want to cluster the data with number of clusters = 3. I have done…
Aghyad Skaif
  • 49
  • 10
0
votes
0 answers

Error "RGBA should have length 3 or 4" shows when trying to visualize SOM using matplotlib

I'm doing some identification with self organizing map & python. I use a raster data and I convert it to a numpy array. I want to visualize it with matplotlib but it shows an error like this. And here is the python code. from __future__ import…
0
votes
1 answer

Error in supersom(list(X), ...) : argument "X" is missing, with no default in kohonen package som function

I am trying to apply the som function in the kohonen package (plot a SOM) and I am getting the following error: Error in supersom(list(X), ...) : argument "X" is missing, with no default. The code that I am trying to apply is as…
ASKING
  • 1
  • 1