fixed trailing white-space in logistic regression class