somkit
is a simple implementation of Self-Organizing Maps (SOMs) in Python. This library provides an easy-to-use interface to train and visualize SOMs on various datasets. somkit
can be used for clustering, data visualization, and dimensionality reduction tasks.
To get started, follow these steps:
- Install
git clone https://github.com/remokasu/somkit.git
cd somkit
python setup.py install
- Train and visualize a SOM with the sample datasets provided:
- For the animal dataset:
cd examples
python animal.py
- For the iris dataset:
cd examples
python iris.py