here is my first draft of the api design. It's largely lifted from sckicit-learn. I chose to implemented the initializers as structs, but I'm not convinced we actually gain anything meaningfully from that. I'll need to have a closer look at kmeans++. If kmeans++ offers some knobs we want to expose, than the structs make sense. Otherwise a simple function should be sufficient.
here is my first draft of the api design. It's largely lifted from sckicit-learn. I chose to implemented the initializers as structs, but I'm not convinced we actually gain anything meaningfully from that. I'll need to have a closer look at kmeans++. If kmeans++ offers some knobs we want to expose, than the structs make sense. Otherwise a simple function should be sufficient.