• Increase font size
  • Default font size
  • Decrease font size

SOM (Kohonen) network example

Using the Generation5 library I have ported part of this applet (Colour dataset) into a processing.

Kohonen network is a good example of unsupervised networks. It is quite simple yet introduces the concepts of self-organization and unsupervised training easily.

Kohonen network is often called self-organizing map (SOM) or self-organizing feature map (SOFM).

There are quite a few types of self-organizing networks, like the Instar-Outstar network, the ART-series, and the Kohonen network. For purposes of simplicity, we will look at the Kohonen network.

The Kohonen network is an n-dimensional network, where n is the number of inputs. For simplicity, we will look at a 2-dimensional networks. 1D, 2D and 3D networks are used the most.

2D kohonen network

Pic1.: Organization of the 2D Kohonen network [taken from]

Demo I have created contains 2D Kohonen network with dimensionality 40x40x3. It means. Size X = 40 neuron, Size Y = 40 neurons, input vector X consists from X1, X2, X3. The network is feeded with RGB colours from a learning dataset. Input vector is normalized from <0, 255> into <0.0, 1.0>. Weights are randomized before the learning, so the result after learning is always a little bit different - the layout of the learned clusters is different.

 

Demo

Wait while the network is trained. Once it is trained, set the RGB value and press the "Find" button. It will see in which cluster was your color assigned.

 

Comments  

 
0 #32 CliffCalia 2018-12-08 22:24
Joe Bonamassa is a famous country singer, so don't miss the possibility to visit Joe Bonamassa tour 2019 Ohio
Quote
 
 
0 #31 buy viagra online 2018-11-29 06:07
buy viagra online: http://leehanre.com/board_VLuS09/1172676
Quote
 
 
0 #30 chrome.google.com 2018-11-13 09:16
Hey! I'm at work browsing your blog from my new iphone 4!
Just wanted to say I love reading your blog and look forward to all your posts!

Carry on the superb work!

Look at my website: chrome.google.com: http://chrome.google.com
Quote
 
 
0 #29 Kristopher 2018-10-21 07:44
5. GETTING OF JOB. 6. TASK PROMOTION. 7. CASH SPELL.



my webpage: Kristopher: http://www.indianaeconomicdigest.net/Redirect.asp?UID=30844860&SubSectionID=150&LinkID=151&Linkurl=http://cli.re/gY5yYg
Quote
 
 
0 #28 98Francine 2018-07-28 16:32
I can see that your blog probably doesn't have much
visits. Your articles are interesting, you only need more new visitors.
I know a method that can cause a viral effect on your site.
Search in google: dracko's tricks make your content go viral
Quote
 
 
0 #27 RaulChief 2018-03-21 21:50
I have checked your blog and i've found some duplicate content, that's why
you don't rank high in google, but there is a tool that can help you to create 100% unique articles, search for;
boorfe's tips unlimited content
Quote
 
 
0 #26 YvetteSmall 2018-01-29 15:38
I have checked your site and i've found some duplicate content, that's
why you don't rank high in google's search results, but there
is a tool that can help you to create 100% unique articles, search for:
Boorfe's tips unlimited content
Quote
 
 
0 #25 Anemonalove 2017-07-17 16:13
Hi guys! Who wants to see me live? I'm live at HotBabesCams.com,
we can chat, you can watch me live for free, my nickname is Anemonalove , here is my photo:

https://3.bp.blogspot.com/-u5pGYuGNsSo/WVixiO8RBUI/AAAAAAAAAFA/JWa2LHHFI2AkHParQa3fwwHhVijolmq8QCLcBGAs/s1600/hottest%2Bwebcam%2Bgirl%2B-%2BAnemonalove.jpg
Quote
 
 
0 #24 We-Vibe 4 Plus 2015-08-22 11:28
Hi, I believe your website may be having browser compatibility problems.
Whenever I take a look at your website in Safari, it looks fine but when opening in Internet Explorer,
it has some overlapping issues. I simply wanted
to give you a quick heads up! Besides that,
excellent blog!

My blog post ... We-Vibe 4 Plus barcelonaWe-Vibe 4 Plus valencia (: http://lolatoys.com/es/we-vibe-4-plus.htmlCarla#)
Quote
 
 
0 #23 vibradores lelo 2015-08-21 18:33
I all the time used to read piece of writing in news
papers but now as I am a user of net thus from now
I am using net for posts, thanks to web.

My web-site :: vibradores lelo: http://lolatoys.com/es/gigi-2.html
Quote
 

Add comment

No bad words.


Security code
Refresh


Design by i-cons.ch / etosha-namibia.ch