If you're using k-means, then sparse matrix support can be added quite easily by doing `atleast2d_or_csr` here.