Clustering points

I thought this might be the way to go, but I cant figure out how to use the component or make a definition from it, and theres limited information about it online.

Lets say pop2d > kmeans gives an error of "data failed conversion of points to tensorset.

Any pointers?

Ive read through this https://www.grasshopper3d.com/forum/topics/kmeans-1

but theres no clear explanation there