tweaks to trainClassifier

logreg needs some work