Skip to content

Instantly share code, notes, and snippets.

@sergioprates
Created April 15, 2019 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergioprates/fee9f364d182675d8f2bac468f81117f to your computer and use it in GitHub Desktop.
Save sergioprates/fee9f364d182675d8f2bac468f81117f to your computer and use it in GitHub Desktop.
from sklearn.linear_model import LogisticRegression
clf = LogisticRegression(random_state=0, solver='newton-cg')
clf = clf.fit(X_train, y_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment