Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sklearn.linear_model import LogisticRegression
- clf = LogisticRegression(random_state=0, solver='newton-cg')
- clf = clf.fit(X_train, y_train)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement