removed trailing whitespaces from updated logistic regression definition