seracio / kohonen

A basic implementation of a Kohonen map in JavaScript
MIT License
13 stars 5 forks source link

Weight initialisation #24

Closed nmondon closed 8 years ago

nmondon commented 8 years ago

The weights of the neurons are initialized either to small random values or sampled evenly from the subspace spanned by the two largest principal component eigenvectors

https://en.wikipedia.org/wiki/Principal_component_analysis

nmondon commented 8 years ago

https://bl.ocks.org/ktaneishi/9499896

nmondon commented 8 years ago

https://www.npmjs.com/package/ml-pca

nmondon commented 8 years ago

https://github.com/mljs/pca

nmondon commented 8 years ago

The vectors shown are the eigenvectors of the covariance matrix scaled by the square root of the corresponding eigenvalue