Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created March 6, 2019 18:59
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 prateekjoshi565/a1e9eaa07a3fbfe695d8f6120f8ab95d to your computer and use it in GitHub Desktop.
Save prateekjoshi565/a1e9eaa07a3fbfe695d8f6120f8ab95d to your computer and use it in GitHub Desktop.
train model elmo
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import f1_score
lreg = LogisticRegression()
lreg.fit(xtrain, ytrain)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment