Sunday, August 11, 2024

Show HN: Midsommer" or a way to create self-organizing maps in JavaScript https://ift.tt/i5huPoA

Show HN: Midsommer" or a way to create self-organizing maps in JavaScript I've been obsessed with self-organizing maps (or Kohonen maps) for a few years now, and I made a library that implements a bare-bones SOM algorithm in JavaScript. A SOM is basically a kinda-old school—but effective—way to do dimensionality reduction and clustering. Midsommer, my library, also comes with a Svelte component to visualize the resulting SOM, and it uses a force-directed graph to display the underlying shape of the map (cosine similarity between adjacent neurons informs the edge weights, basically). You can see the code here, as well as a couple examples, including one that represents the ~300-odd books I've read since the start of the pandemic. I'm really curious what people think. https://ift.tt/xloCk4s August 11, 2024 at 12:20AM

No comments:

Post a Comment

Show HN: Pocket2Linkding – Migrate from Mozilla Pocket to Linkding https://ift.tt/IwYJfju

Show HN: Pocket2Linkding – Migrate from Mozilla Pocket to Linkding With the Mozilla Pocket shutdown coming up in about two weeks, I thought ...