seracio / kohonen Goto Github PK
View Code? Open in Web Editor NEWA basic implementation of a Kohonen map in JavaScript
License: MIT License
A basic implementation of a Kohonen map in JavaScript
License: MIT License
As we use the same datas in the constructor, training and mapping phase...
We can improve performance by removing sqrt
I'm just trying out this library (thanks for sharing!), and would like to create a demonstrator of the algorithm.
For this I would like to be able to "pause" every few steps and display the current state of the system. log()
seems to get the state of the neurons only.
Here's a (very simple and unfinished) demo
http://bl.ocks.org/Fil/ae11126ae728cb2af627db6a3dfa756b
First tests and all datas are converging to the same neuron...
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
Iterate over the given datas will be more efficient than attempting to generate close data
Add this as a resource
Hi,
Are you still actively working on this? I've been playing with this package using spectral data and seems to hang with very large arrays (3000).
How far would you reasonably expect this to scale?
in v0.7.0, we've fixed an issue, but this deserves more tests
I've been playing with this a bit more and it works well for the canonical example of mapping colours. However, when I feed data with more variables (~40) into the SOM, all of the inputs tend to converge on a single neuron.
You seem to have had this issue before with: #17, I'm wondering if it is again related to normalisation?
Should probably have:
Actually, you can use findBestMatchingUnit, but it assums that your vector is already normalized...
This will be useful to get vector positions from data others than the training set
The API should be more modular, basically, I think that every process step should be overridable thanks to a sub class
We should use a [0,1] normalization I guess
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.