Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created June 27, 2021 15:00
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 amankharwal/8cbed66992ad0ee501779da6c2ea052e to your computer and use it in GitHub Desktop.
Save amankharwal/8cbed66992ad0ee501779da6c2ea052e to your computer and use it in GitHub Desktop.
sample = input('Enter a message:')
data = cv.transform([sample]).toarray()
print(clf.predict(data))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment