som.js
v0.3.3
Published
Self-Organizing Map(SOM) in Pure Javascript
Maintainers
Readme
som.js
The Self-Organizing Map(SOM) in Pure Javascript
We plan to translate the core methods of SOM algorithm, which is elaborated in "MATLAB Implementations and Applications of the Self-Organizing Map", from MATLAB into javascript.
The implementation will be written in javascript/typescript and could be used in modern browsers and node.js env. It is depended on these libs for matrix and array operations:
###How-to-dev
- install node.js environment
git cloneor download the repository- go to the directory and type
npm installto install all the dependencies from npm - There is an example on how to comsume the API which som.js offered. Please find it in
./example/64nodeSOM.jswhich is also written in ECMAScript 6, run the example by installing babel-node (npm install node-babel -g) and run bynode-babel example/64nodeSOM.js. ./srcis the source code of this npm module (for node.js) written in ECMAScript 6, we choose gulp + bable to compile it into noramal javascript. Runnpm compileto start compiling.- working with Git: Getting Start! https://github.com/chenhunghan/som.js/wiki/Getting-Start!
- working with Git: Make a new Branch https://github.com/chenhunghan/som.js/wiki/Make-a-New-Branch
