Created
May 19, 2019 10:21
-
-
Save gaganmanku96/714301df0cb6302149d787d981711c07 to your computer and use it in GitHub Desktop.
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
classifier = LogisticRegression(solver='lbfgs',C=0.5) | |
classifier.fit(train_arrays,train_labels) | |
pred = classifier.predict(test_arrays) | |
''' | |
You can check the accuracy of model using sklearn's confusion matrix or accuracy_score function. | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment