Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bob7783 committed Aug 13, 2024
1 parent bf9388a commit c096c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unsupervised_class/tweets.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def filter_tweet(s):

# transform the text into a data matrix
tfidf = TfidfVectorizer(max_features=100, stop_words=stopwords)
X = tfidf.fit_transform(text).todense()
X = tfidf.fit_transform(text).asformat('array')


# subsample for efficiency
Expand Down

1 comment on commit c096c5a

@Admin-Author
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These days, terms like Data Science, Machine Learning, and Artificial Intelligence often swirl together in conversations about technology and data analysis. While they may seem synonymous at first glance, each carries its own distinct significance and applications.

For more detailed info: Data Science Vs AI/Machine Learning

Please sign in to comment.