Skip to content

Instantly share code, notes, and snippets.

@letthedataconfess
Created January 27, 2021 07:09
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 letthedataconfess/cdf0d8f171c885627333b2b35baf4b4c to your computer and use it in GitHub Desktop.
Save letthedataconfess/cdf0d8f171c885627333b2b35baf4b4c to your computer and use it in GitHub Desktop.
sentiment analysis
message=["Congratulations on building your first Sentiment Analysis model! You're going great!"]
message=tfidf.transform(message).toarray()
clf.predict(message)[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment