LogisticRegression + previous methods improvements