A ruby implementation of the k-means algorithm using vectors and matrices that runs under jruby.