Dotori-HJ / SelfOrganizingMap-SOM

Pytorch implementation of Self-Organizing Map(SOM). Use MNIST dataset as a demo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Self-Organizing-Map-SOM

Pytorch implementation of Self-Organizing Map(SOM). Uses MNIST, Fashion-MNIST dataset as a demo.

Requirements

Code is written in Python 3.6 and requires:

  • Pytorch 0.4.0+
  • Matplotlib

Run the example

MNIST

python main.py --train --mnist

Fashion-MNIST

python main.py --train --fashion_mnist

Color

python main.py --train --color

Results

MNIST

  • Animation
    MNIST
  • Result Image
    MNIST

Fashion-MNIST

  • Animation
    Fahsion-MNIST
  • Result Image
    Fahsion-MNIST

Color

Color

About

Pytorch implementation of Self-Organizing Map(SOM). Use MNIST dataset as a demo.

License:MIT License


Languages

Language:Python 100.0%