k-mean for Adam