Created
April 27, 2020 06:03
-
-
Save lakshay-arora/ed04242da245a3d9df13e7b30c74185b 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
# sample tweet | |
text = ["Virat Kohli, AB de Villiers set to auction their 'Green Day' kits from 2016 IPL match to raise funds"] | |
# predict the label using the pipeline | |
pipeline.predict(text) | |
## >> array([0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment