Created
March 6, 2019 18:59
-
-
Save prateekjoshi565/a1e9eaa07a3fbfe695d8f6120f8ab95d to your computer and use it in GitHub Desktop.
train model elmo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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