mini_batch kmeans final