Saturday, August 10, 2024

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

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/4xiyvNP August 11, 2024 at 12:20AM

No comments:

Post a Comment

Show HN: Mimik – open-source local-first alternative to Scribe and Tango https://ift.tt/sH6jgRt

Show HN: Mimik – open-source local-first alternative to Scribe and Tango https://ift.tt/0t4mjkF May 11, 2026 at 11:18PM