SlideShare a Scribd company logo
KOHONEN SELF ORGANIZING MAPS
History of kohonen som
 Developed in 1982 by Tuevo Kohonen, a professor
emeritus of the Academy of Finland
 Professor Kohonen worked on auto-associative
memory during the 70s and 80s and in 1982 he
presented his self-organizing map algorithm
History of Kohonen SOMs
 His idea on Kohonen SOM only became famous much
later in 1988 when he presented a paper on “The Neural
Phonetic Typewriter” on IEEE computer that his work
became widely known
 Since then many excellent papers and books have been
made on SOM
What are self organizing maps?
•Are aptly named “Self-Organizing” because no
supervision is required.
•SOMs learn on their own through unsupervised
competitive learning.
•They attempt to map their weights to conform to
the given input data.
What are self organizing maps?
•Thus SOMs are neural networks that employ unsupervised
learning methods, mapping their weights to conform to the
given input data with a goal of representing
multidimensional data in an easier and understandable
form for the human eye. (pragmatic value of representing
complex data)
What are self organizing maps?
•Training a SOM requires no target vector. A SOM
learns to classify the training data without any
external supervision.
The Architecture
•Made up of an input nodes and computational
nodes.
•Each computational node is connected to each input
node to form a lattice.
The Architecture
•There are no interconnections among the
computational nodes.
•The number of input nodes is determined by the
dimensions of the input vector.
Representing Data
•Weight vectors are of the same dimension as the
input vectors. If the training data consists of
vectors, V, of n dimensions:
V1,V2,V3...Vn
•Then each node will contain a corresponding
weight vector W, of n dimensions:
W1,W2,W3...Wn
A sample SOM
Terms used in SOMs
•vector quantization -This is a data compression
technique. SOMs provide a way of representing
multidimensional data in a much lower
dimensional space; typically one or two
dimensions
Terms used in SOMs…
•Neighbourhood
•Output space
•Input space
EXPLANATION: How Kohonen SOMs work
The SOM Algorithm
•The Self-Organizing Map algorithm can be broken up
into 6 steps
•1). Each node's weights are initialized.
•2). A vector is chosen at random from the set of
training data and presented to the network.
EXPLANATION: The SOM Algorithm…
3). Every node in the network is examined to calculate
which ones' weights are most like the input vector.The
winning node is commonly known as the Best Matching
Unit (BMU).
EXPLANATION: The SOM Algorithm…
•4).The radius of the neighbourhood of the BMU is
calculated.This value starts large.Typically it is set to
be the radius of the network, diminishing each time-
step.
EXPLANATION: The SOM Algorithm…
•5). Any nodes found within the radius of the BMU,
calculated in 4), are adjusted to make them more like
the input vector (Equation 3a, 3b).The closer a node is
to the BMU, the more its' weights are altered
•6). Repeat 2) for N iterations.
Computation of scores
•The Function for calculating the score inclusion for
an output node is known as : 𝑖 𝑛𝑖 − 𝑤𝑖𝑗 2
•Thus to calculate the score for inclusion with
output node i:
Computation of scores…
•To calculate the score for inclusion with output
node j:
(0.4 − 0.3)2 + (0.7 − 0.6)2 = 0.141
The Winning Node
•Node j becomes the winning node since it has the
lowest score.
•This implies that its weight vector values are similar
to the input values of the presented instance.
•i.e.The value of node j is closest to the input vector.
•As a result, the weight vectors associated with the
winning node are adjusted so as to reward the node
for winning the instance.
Concluding the tests
• Both of these are decreased linearly over the span of several iterations and
terminates after instance classifications do not vary from one iteration to
the next
• Finally the clusters formed by the training or test data are analysed in order
to determine what has been discovered
NEIGHBORHOOD ADJUSMENTS
• After adjusting the weights of the winning node, the neighbourhood nodes
also have their weights adjusted using the same formula
• A neighbourhood is typified by a square grid with the centre of the grid
containing the winning node.
• The size of the neighbourhood as well as the learning rate r is specified when
training begins
ILLUSTRATION: A Color Classifier
•Problem: Group and represent the primary colors and
their corresponding shades on a two dimensional plane.
A Color classifier: Sample Data
•The colors are represented in their RGB values to
form 3-dimensional vectors.
A Color classifier: Node Weighting
•Each node is characterized by:
•Data of the same dimensions as the sample
vectors
•An X,Y position
A Color Classifier: The algorithm
Initialize Map
Radius = d
Learning rate = r
For 1 to N iterations
Randomly select a sample
Get best matching unit
Scale neighbors
Adjust d, r appropriately
End for
A Color classifier:The Layout
A Color classifier: Getting a winner
•Go through all the weight vectors and calculate the
Euclidean distance from each weight to the chosen
sample vector
•Assume the RGB values are represented by the
values 0 – 6 depending on their intensity.
•i.e. Red = (6, 0, 0); Green = (0, 6, 0); Blue = (0, 0, 6)
A Color classifier: Getting a winner…
•If we have colour green as the sample input instance, a
probable node representing the colour light green (3,6,3)
will be closer to green than red.
• Light green = Sqrt((3-0)^2+(6-6)^2+(3-0)^2) = 4.24
Red = Sqrt((6-0)^2+(0-6)^2+(0-0)^2) = 8.49
A COLOR CLASSIFIER: DETERMINING THE
NEIGHBORHOOD
• Since a node has an X – Y position,
it’s neighbors can be easily
determined based on their radial
distance from the BMU
coordinates.
A COLOR CLASSIFIER: DETERMINING THE
NEIGHBORHOOD…
• The area of the neighbourhood shrinks over time with
each iteration.
A Color classifier: Learning
•Every node within the BMU's neighbourhood (including
the BMU) has its weight vector adjusted according to a
pre-determined equation
•The learning rate is decayed over time.
A Color classifier: Learning
•The effect of learning should be proportional to the
distance a node is from the BMU.
•A Gaussian function can be used to achieve this, whereby
the closest neighbors are adjusted the most to be more
like the input vector.
A Color classifier: Sample output
• Classification on a 40 x 40 SOM
Current Applications
• WEBSOM: Organization of a Massive Document
Collection
Current Applications…
•Classifying World Poverty
Current Applications…
•PhoneticTypewriter

More Related Content

What's hot

Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance Theory
Naveen Kumar
 
Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer Perceptron
Mostafa G. M. Mostafa
 
Feedforward neural network
Feedforward neural networkFeedforward neural network
Feedforward neural network
Sopheaktra YONG
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural networkDEEPASHRI HK
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
Md. Main Uddin Rony
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
Kalyan Acharjya
 
Activation functions
Activation functionsActivation functions
Activation functions
PRATEEK SAHU
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
VARUN KUMAR
 
Mc culloch pitts neuron
Mc culloch pitts neuronMc culloch pitts neuron
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image Restoration
Mathankumar S
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
Ahmed Daoud
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial Domain
Madhu Bala
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashri
sheetal katkar
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
kiruthiammu
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.
SomitSamanto1
 
Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Syed Atif Naseem
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
Mostafa G. M. Mostafa
 
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Mohammed Bennamoun
 
digital image processing
digital image processingdigital image processing
digital image processing
Abinaya B
 
Counter propagation Network
Counter propagation NetworkCounter propagation Network
Counter propagation Network
Akshay Dhole
 

What's hot (20)

Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance Theory
 
Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer Perceptron
 
Feedforward neural network
Feedforward neural networkFeedforward neural network
Feedforward neural network
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Activation functions
Activation functionsActivation functions
Activation functions
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
 
Mc culloch pitts neuron
Mc culloch pitts neuronMc culloch pitts neuron
Mc culloch pitts neuron
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image Restoration
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial Domain
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashri
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.
 
Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Statistical Pattern recognition(1)
Statistical Pattern recognition(1)
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Counter propagation Network
Counter propagation NetworkCounter propagation Network
Counter propagation Network
 

Similar to Kohonen self organizing maps

Sess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptxSess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptx
SarthakKabi2
 
Machine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional ManagersMachine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional Managers
Albert Y. C. Chen
 
Algorithm explanations
Algorithm explanationsAlgorithm explanations
Algorithm explanations
nikita kapil
 
ARTIFICIAL-NEURAL-NETWORKMACHINELEARNING
ARTIFICIAL-NEURAL-NETWORKMACHINELEARNINGARTIFICIAL-NEURAL-NETWORKMACHINELEARNING
ARTIFICIAL-NEURAL-NETWORKMACHINELEARNING
mohanapriyastp
 
Lec02 03 rasterization
Lec02 03 rasterizationLec02 03 rasterization
Lec02 03 rasterization
Maaz Rizwan
 
Lec02 03 rasterization
Lec02 03 rasterizationLec02 03 rasterization
Lec02 03 rasterizationMaaz Rizwan
 
ODSC India 2018: Topological space creation & Clustering at BigData scale
ODSC India 2018: Topological space creation & Clustering at BigData scaleODSC India 2018: Topological space creation & Clustering at BigData scale
ODSC India 2018: Topological space creation & Clustering at BigData scale
Kuldeep Jiwani
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
Mazin Alwaaly
 
Bucket sort- A Noncomparision Algorithm
Bucket sort- A Noncomparision AlgorithmBucket sort- A Noncomparision Algorithm
Bucket sort- A Noncomparision Algorithm
Krupali Mistry
 
Unsupervised Learning in Machine Learning
Unsupervised Learning in Machine LearningUnsupervised Learning in Machine Learning
Unsupervised Learning in Machine Learning
Pyingkodi Maran
 
CSA 3702 machine learning module 3
CSA 3702 machine learning module 3CSA 3702 machine learning module 3
CSA 3702 machine learning module 3
Nandhini S
 
07 dimensionality reduction
07 dimensionality reduction07 dimensionality reduction
07 dimensionality reduction
Marco Quartulli
 
Data Applied: Similarity
Data Applied: SimilarityData Applied: Similarity
Data Applied: Similarity
DataminingTools Inc
 
Data Applied:Similarity
Data Applied:SimilarityData Applied:Similarity
Data Applied:Similarity
dataapplied content
 
Visual Techniques
Visual TechniquesVisual Techniques
Visual Techniques
Md. Shohel Rana
 

Similar to Kohonen self organizing maps (20)

Sess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptxSess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptx
 
vector QUANTIZATION
vector QUANTIZATIONvector QUANTIZATION
vector QUANTIZATION
 
vector QUANTIZATION
vector QUANTIZATIONvector QUANTIZATION
vector QUANTIZATION
 
vector QUANTIZATION
vector QUANTIZATIONvector QUANTIZATION
vector QUANTIZATION
 
Circuitanlys2
Circuitanlys2Circuitanlys2
Circuitanlys2
 
Machine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional ManagersMachine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional Managers
 
Algorithm explanations
Algorithm explanationsAlgorithm explanations
Algorithm explanations
 
ARTIFICIAL-NEURAL-NETWORKMACHINELEARNING
ARTIFICIAL-NEURAL-NETWORKMACHINELEARNINGARTIFICIAL-NEURAL-NETWORKMACHINELEARNING
ARTIFICIAL-NEURAL-NETWORKMACHINELEARNING
 
Lec02 03 rasterization
Lec02 03 rasterizationLec02 03 rasterization
Lec02 03 rasterization
 
Lec02 03 rasterization
Lec02 03 rasterizationLec02 03 rasterization
Lec02 03 rasterization
 
ODSC India 2018: Topological space creation & Clustering at BigData scale
ODSC India 2018: Topological space creation & Clustering at BigData scaleODSC India 2018: Topological space creation & Clustering at BigData scale
ODSC India 2018: Topological space creation & Clustering at BigData scale
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
 
Bucket sort- A Noncomparision Algorithm
Bucket sort- A Noncomparision AlgorithmBucket sort- A Noncomparision Algorithm
Bucket sort- A Noncomparision Algorithm
 
Unsupervised Learning in Machine Learning
Unsupervised Learning in Machine LearningUnsupervised Learning in Machine Learning
Unsupervised Learning in Machine Learning
 
CSA 3702 machine learning module 3
CSA 3702 machine learning module 3CSA 3702 machine learning module 3
CSA 3702 machine learning module 3
 
07 dimensionality reduction
07 dimensionality reduction07 dimensionality reduction
07 dimensionality reduction
 
Lecture24
Lecture24Lecture24
Lecture24
 
Data Applied: Similarity
Data Applied: SimilarityData Applied: Similarity
Data Applied: Similarity
 
Data Applied:Similarity
Data Applied:SimilarityData Applied:Similarity
Data Applied:Similarity
 
Visual Techniques
Visual TechniquesVisual Techniques
Visual Techniques
 

Recently uploaded

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 

Recently uploaded (20)

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 

Kohonen self organizing maps

  • 2. History of kohonen som  Developed in 1982 by Tuevo Kohonen, a professor emeritus of the Academy of Finland  Professor Kohonen worked on auto-associative memory during the 70s and 80s and in 1982 he presented his self-organizing map algorithm
  • 3. History of Kohonen SOMs  His idea on Kohonen SOM only became famous much later in 1988 when he presented a paper on “The Neural Phonetic Typewriter” on IEEE computer that his work became widely known  Since then many excellent papers and books have been made on SOM
  • 4. What are self organizing maps? •Are aptly named “Self-Organizing” because no supervision is required. •SOMs learn on their own through unsupervised competitive learning. •They attempt to map their weights to conform to the given input data.
  • 5. What are self organizing maps? •Thus SOMs are neural networks that employ unsupervised learning methods, mapping their weights to conform to the given input data with a goal of representing multidimensional data in an easier and understandable form for the human eye. (pragmatic value of representing complex data)
  • 6. What are self organizing maps? •Training a SOM requires no target vector. A SOM learns to classify the training data without any external supervision.
  • 7. The Architecture •Made up of an input nodes and computational nodes. •Each computational node is connected to each input node to form a lattice.
  • 8. The Architecture •There are no interconnections among the computational nodes. •The number of input nodes is determined by the dimensions of the input vector.
  • 9. Representing Data •Weight vectors are of the same dimension as the input vectors. If the training data consists of vectors, V, of n dimensions: V1,V2,V3...Vn •Then each node will contain a corresponding weight vector W, of n dimensions: W1,W2,W3...Wn
  • 11. Terms used in SOMs •vector quantization -This is a data compression technique. SOMs provide a way of representing multidimensional data in a much lower dimensional space; typically one or two dimensions
  • 12. Terms used in SOMs… •Neighbourhood •Output space •Input space
  • 13. EXPLANATION: How Kohonen SOMs work The SOM Algorithm •The Self-Organizing Map algorithm can be broken up into 6 steps •1). Each node's weights are initialized. •2). A vector is chosen at random from the set of training data and presented to the network.
  • 14. EXPLANATION: The SOM Algorithm… 3). Every node in the network is examined to calculate which ones' weights are most like the input vector.The winning node is commonly known as the Best Matching Unit (BMU).
  • 15. EXPLANATION: The SOM Algorithm… •4).The radius of the neighbourhood of the BMU is calculated.This value starts large.Typically it is set to be the radius of the network, diminishing each time- step.
  • 16. EXPLANATION: The SOM Algorithm… •5). Any nodes found within the radius of the BMU, calculated in 4), are adjusted to make them more like the input vector (Equation 3a, 3b).The closer a node is to the BMU, the more its' weights are altered •6). Repeat 2) for N iterations.
  • 17. Computation of scores •The Function for calculating the score inclusion for an output node is known as : 𝑖 𝑛𝑖 − 𝑤𝑖𝑗 2 •Thus to calculate the score for inclusion with output node i:
  • 18. Computation of scores… •To calculate the score for inclusion with output node j: (0.4 − 0.3)2 + (0.7 − 0.6)2 = 0.141
  • 19. The Winning Node •Node j becomes the winning node since it has the lowest score. •This implies that its weight vector values are similar to the input values of the presented instance. •i.e.The value of node j is closest to the input vector. •As a result, the weight vectors associated with the winning node are adjusted so as to reward the node for winning the instance.
  • 20. Concluding the tests • Both of these are decreased linearly over the span of several iterations and terminates after instance classifications do not vary from one iteration to the next • Finally the clusters formed by the training or test data are analysed in order to determine what has been discovered
  • 21. NEIGHBORHOOD ADJUSMENTS • After adjusting the weights of the winning node, the neighbourhood nodes also have their weights adjusted using the same formula • A neighbourhood is typified by a square grid with the centre of the grid containing the winning node. • The size of the neighbourhood as well as the learning rate r is specified when training begins
  • 22. ILLUSTRATION: A Color Classifier •Problem: Group and represent the primary colors and their corresponding shades on a two dimensional plane.
  • 23. A Color classifier: Sample Data •The colors are represented in their RGB values to form 3-dimensional vectors.
  • 24. A Color classifier: Node Weighting •Each node is characterized by: •Data of the same dimensions as the sample vectors •An X,Y position
  • 25. A Color Classifier: The algorithm Initialize Map Radius = d Learning rate = r For 1 to N iterations Randomly select a sample Get best matching unit Scale neighbors Adjust d, r appropriately End for
  • 27. A Color classifier: Getting a winner •Go through all the weight vectors and calculate the Euclidean distance from each weight to the chosen sample vector •Assume the RGB values are represented by the values 0 – 6 depending on their intensity. •i.e. Red = (6, 0, 0); Green = (0, 6, 0); Blue = (0, 0, 6)
  • 28. A Color classifier: Getting a winner… •If we have colour green as the sample input instance, a probable node representing the colour light green (3,6,3) will be closer to green than red. • Light green = Sqrt((3-0)^2+(6-6)^2+(3-0)^2) = 4.24 Red = Sqrt((6-0)^2+(0-6)^2+(0-0)^2) = 8.49
  • 29. A COLOR CLASSIFIER: DETERMINING THE NEIGHBORHOOD • Since a node has an X – Y position, it’s neighbors can be easily determined based on their radial distance from the BMU coordinates.
  • 30. A COLOR CLASSIFIER: DETERMINING THE NEIGHBORHOOD… • The area of the neighbourhood shrinks over time with each iteration.
  • 31. A Color classifier: Learning •Every node within the BMU's neighbourhood (including the BMU) has its weight vector adjusted according to a pre-determined equation •The learning rate is decayed over time.
  • 32. A Color classifier: Learning •The effect of learning should be proportional to the distance a node is from the BMU. •A Gaussian function can be used to achieve this, whereby the closest neighbors are adjusted the most to be more like the input vector.
  • 33. A Color classifier: Sample output • Classification on a 40 x 40 SOM
  • 34. Current Applications • WEBSOM: Organization of a Massive Document Collection