Linear algebra prof builds "vector golf" game to teach cosine similarity with word embeddings

prof_g · x · 2026-09-26

A university linear algebra instructor built a teaching game that turns word embeddings into a golf course: players hop from "money" to "poetry", with each hop bounded by cosine similarity. It includes explore and hunt modes in addition to the main game, runs in the browser, and doubles as a classroom demo for embedding spaces and cosine similarity.

Related event: Professor builds "vector golf" game to teach cosine similarity(2 posts)→

Original post →

More from Fun

Fun channel →