Skip to content

Home

Logo

This package implements k-means clustering via simulated annealing on metric spaces where the ordinary Euclidean distance does not apply. It clusters on metric graphs (quantum graphs) and on Riemannian manifolds—either directly, or by approximating a manifold with a graph (an \(\varepsilon\)-net). Its guiding goal is to let you define and cluster on your own custom spaces, as long as you can specify a Brownian motion and a drift there.

Next Steps

License

This project is licensed under the MIT License.
© Copyright 2026, Nicolas Klutchnikoff and Ioana Gavra