Skip to content

Commit

Permalink
FIX example
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanKossaifi committed Feb 21, 2024
1 parent 98686db commit 22995e7
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 @@ -36,7 +36,7 @@
# Generate count vectors from documents.
vectorizer = CountVectorizer(min_df = 0.05,
max_df = 0.2,
ngram_range = [1, 2],
ngram_range = (1, 2),
stop_words = stop_words)
vectors = vectorizer.fit_transform(texts).toarray()
vocab = vectorizer.get_feature_names()
Expand Down

0 comments on commit 22995e7

Please sign in to comment.