learnLR function

Fit models and make predictions with a logistic regression classifier