Update LogisticRegression.R