This software implements a Kohonen self-organizing map in Python programming language for any clustering task. This product is one of various for my thesis project.
Feel free to use it anytime, and any reference to the original author is welcome! 😎
In order to use this software you must install the following dependencies:
- To execute som.py:
- Python 3.4+
- Numpy 1.13.3+
In order to verify the installation install this additional dependency or just to visualize the sample:
- matplotlib 3.0.3+
In order to execute the sample software, first clone this repository and execute the software as:
git clone https://github.com/aanzolaavila/self-organizing-maps.git
cd self-organizing-maps
python3 somgui.py
And it should start to iterate over an preestablished input in which it will output a unidimensional SOM in a separate window, just as the following picture:
To execute the software for a different purpose you can checkout se code inside som.py to suit it to your needs, as it should be straightforward to modify if you are familiar with Python and just a little bit with Numpy, otherwise checkout this cheatsheet or this tutorial
- Implement command line interface to receive custom files and receive parameters from user 👍
- Use CuPy library to push performance 🚀
Alejandro Anzola, Computer Science student
Escuela Colombiana de Ingenieria Julio Garavito
Bogota, Colombia