Notebooks
H
Hugging Face
85 Sentiment Analysis Twitter

85 Sentiment Analysis Twitter

hf-bloghacktoberfestnotebooks

Getting Started with Sentiment Analysis on Twitter

thumbnail.png

1. Install dependencies

[ ]

2. Set up Twitter API credentials

[ ]

3. Search for tweets using Tweepy

[ ]

4. Run sentiment analysis on the tweets

[ ]

5.Explore the results of sentiment analysis

[ ]
[ ]
sentiment
Negative     21
Neutral     121
Positive    158
dtype: int64
<matplotlib.axes._subplots.AxesSubplot at 0x7f848d12d810>
Output
[ ]
OutputOutput