Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created September 28, 2023 17:59
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 quantra-go-algo/cc36436101ff927e4dc3de9f74807c19 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/cc36436101ff927e4dc3de9f74807c19 to your computer and use it in GitHub Desktop.
# Fit the vectorizer to the documents and transform them into a BoW matrix
X = vectorizer.fit_transform(documents)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment