Skip to content
JavaScript HTML
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
images readme Nov 30, 2016
public
scripts
src readme Nov 30, 2016
.babelrc add babel for scripts and gh-pages Dec 2, 2016
.gitignore
README.md readme Dec 1, 2016
package.json
yarn.lock add babel for scripts and gh-pages Dec 2, 2016

README.md

kohonen-stars

Here is an example for our library kohonen, a basic implementation of SOM algorithm in JavaScript

It provides both:

  • a script using the lib to map a dataset from a multidimensional space into a 2d hexagonal grid of neurons
  • and a script to draw the hexagonal grid

capture

Init

yarn

SOM

This example is about classifying 155 stars from their spectral data (2799 by stars). You can read more about this problem by reading this article Application of Self-Organizing Map to stellar spectral classifications included on the repository and on which is based this example.

There is a first script to parse the 2 dat files:

The second script is the SOM calculation itself using our lib (the repository already provides a generated grid)

npm run parse
npm run som

Vis

Visualisation is made with React and d3

npm start

References

You can’t perform that action at this time.