Skip to content

shiraznave/Self-Organizing-Map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Assignment 3 - Self Organizing Map

Authors: Shiraz Nave, Eden Meidan

Description: In this project, we used a type of artificial neural network called Self Organizing Map (SOM) in order to cluster cities according to their votes in the elections.

For execution you may use the "som.exe" file by clicking it. When the program is running, please follow its instructions. You can use the existing 'Elec_24.csv' file, or specify another filename/path having the same data format.

Output:

  1. Plot of hexagon board of clusters, numbered according to their ID and colored according to 'economy' feature weight.
  2. Table describing the cities in each cluster

image

You can also run the program using the full code with the following commands:

pip install -r requirements.txt

python som.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages