k-means-- Implementation - Justin S. Lee
www.columbia.edu/~jsl2239/kmeans_mm.html02.01.2022 · Implementation [] Rather than reinventing the wheel and writing my own k-means algorithm from scratch, I used the implementation of sklearn KMeans as a foundation to add in the "--" step. This class is highly optimized and like most sklearn functionality, uses Cython under the hood to run as fast as possible.