Label propagation

I have been playing around with Claude to generate some fun frontend demos. Sofar these have all resulted in games but it started to dawn on me that this recreative time could also be used to explore interactive visuals for machine learning topics.

With that said, here's an intuitive demo for label propagation.

You can add labels to nodes and when you click "go" you can see how this might propagate through the graph. It turns out, at least in my own experiments, that these algorithms work very well in embedding-land as well. These embeddings tend to cluster well and with a label propagation technique you can be a nice active-learning setup when you only have a few labels to get started with. It even works for some search tasks!