Added preprocessing.scaler support, as well as options to use l1 or l2 regularization on logistic classifier.