Created
April 6, 2020 10:41
-
-
Save damzaky/a0d37101a2168f92c5044956a3207632 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
prediction = classifier.predict(vectorizer.transform([input('enter input: ')]).toarray()) | |
print('positive' if prediction[0] == 1 else 'negative') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment