classification code for logistic regression using mahout