Committing KMeans and LogReg