renamed LogisticRegression to linearRegression to reflect what was actually used