Skip to content

Commit

Permalink
Example: update CountVectorizer use
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanKossaifi committed Feb 21, 2024
1 parent 22995e7 commit 202d99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plot_uci_topics.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
ngram_range = (1, 2),
stop_words = stop_words)
vectors = vectorizer.fit_transform(texts).toarray()
vocab = vectorizer.get_feature_names()
vocab = vectorizer.get_feature_names_out()

print("Running tensor LDA")
# Initialize Tensor LDA
Expand Down

0 comments on commit 202d99d

Please sign in to comment.