Update LogisticRegression.java