SOM Hyperparameter Tuning
See original GitHub issueI
have a SOM model below applied through an intrusion detection case (unsupervised case) whose dataset is quite big. I selected the suggested parameters based on a paper. However, I require to tune the model but there is no source on how to tune minisom. Can you please suggest me for tuning minisom?
"""Training the SOM"""
from minisom import MiniSom
som31 = MiniSom(x=31, y=31, input_len= 122, sigma= 1.0, learning_rate = 0.5, neighborhood_function='bubble',
topology= 'rectangular', activation_distance='euclidean')
som31.random_weights_init(X_train_p)
som31.train_random(data = X_train_p, num_iteration = 500)
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Self-Organizing Maps with fast.ai — Step 3: Updating SOM ...
SOM Hyperparameters · A self-organization phase, where elements of the map are sorted based on their relative distance · A fine-tuning phase, ...
Read more >som.tune: Parameter tuning for Self-Organising Maps in yasomi
This function tunes some parameters of a Self-Organising Map by optimising a specified error measure. The prior structure is not optimised by this...
Read more >Hyperparameters — SuSi 1.2.2 documentation
You can do that yourself or through an optimization. ... The grid size of a SOM is defined with the parameters n_rows and...
Read more >[PDF] Hyperparameter Selection for Self-Organizing Maps
The self-organizing map (SOM) algorithm for finite data is derived as an approximate maximum a posteriori estimation algorithm for a ...
Read more >(PDF) Optimal Tuning Parameters of Self Organizing Maps for ...
PDF | This paper presents an analysis for Self Organizing Map (SOM) using Response Surface Methodology (RSM) to find the optimal parameters ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can now use this dashboard to explore the effects of the parameters on a sample dataset: https://share.streamlit.io/justglowing/minisom/dashboard/dashboard.py
That way to determine the size of the map is well known, but it’s just a rule of thumb. The best size depends on how your data is distributed and you can find it trying different sizes and checking which one fits your data.