Can Twitter Sentiment/Data Predict NFL Games? Week 16 2021

I’ve been writing about how Twitter Sentiment affects NFL Games for a few weeks on Medium now. It’s been quite an interesting dataset. My initial hypothesis going into this was that teams with higher pregame Twitter sentiment would win. I was shown wrong in the first 5 games I analyzed. From weeks 12 to 15,Continue reading “Can Twitter Sentiment/Data Predict NFL Games? Week 16 2021”

Using NLP to Get Insights from Twitter

I’m interested in analyzing the Tweets of a bunch of famous people so I can learn from them. I’ve built a program that will do this by pulling a list of recent tweets and doing some NLP on them. In this post we’re going to go over: Get all the Text for a Search TermContinue reading “Using NLP to Get Insights from Twitter”

Send API Requests Asynchronously in Python

Sending HTTP API requests in Python is simple. We can just use the requests library like we do in so many examples such as when we built our AI Content Moderation System, explored NLP libraries in Python, and Summarized November 2021 in Headlines. What if we could do it faster though? That’s where asynchronous requestsContinue reading “Send API Requests Asynchronously in Python”

Scrape the Text from All Tweets for a Search Term

Twitter is such a treasure trove of interesting information. Recently, I’ve been using Twitter sentiment to predict NFL games. We can also see if we can use Twitter sentiment to predict the stock market. In this post, we’re going to go over how you can get all of the text from the last 100 TweetsContinue reading “Scrape the Text from All Tweets for a Search Term”

Ask NLP: The Media’s Portrayal of Obama Part 1

Recently, I’ve been playing with the NY Times Archived Headlines. As part of a series on exploring news headlines, I am also exploring how the news portrays presidents. While Joe Biden may be president now, I thought it would be apt to start with the internet’s favorite president, Barack Obama. In the recent post aboutContinue reading “Ask NLP: The Media’s Portrayal of Obama Part 1”

A Python Guide to the NY Times Movie Review Search

A while ago I wrote an article on How to Download Archived News Headlines using the NY Times API. In this post, we’re going to go over how to use the Movie Reviews API from the NY Times to pull movie review articles. The only non-native Python library you’ll need for this is the requestsContinue reading “A Python Guide to the NY Times Movie Review Search”

Twitter Sentiment for Stocks? Starbucks Week of 11/29/21

Starting last week, I began playing around with the Twitter API. I wrote an article on using it to analyze the general public’s sentiment on Black Friday. Analyzing the sentiment on Black Friday was cool, but had no real practical value to it. Personally, I’m interested in stocks so I wondered to myself, can TwitterContinue reading “Twitter Sentiment for Stocks? Starbucks Week of 11/29/21”

Search Twitter from Your Command Line with Python

Recently I was curious to see Twitter’s sentiment on Black Friday. It turns out, so was much of the internet, as I got hundreds of views on my post within hours. In this post, we’re going to walk through how you can search Twitter from your command line with Python. To follow this tutorial, you’llContinue reading “Search Twitter from Your Command Line with Python”

Summarized by AI: November 2021 in Headlines

In early November, we covered October in Headlines. Now that it’s December, let’s see what November was like in the NY Times headlines. To learn how to do this yourself, you can check out How to Build a Text Summarizer in Python. First, I’m going to show you the actual headlines the AI summarizer picked.Continue reading “Summarized by AI: November 2021 in Headlines”

Twitter Sentiment for Stocks? Starbucks 11/29/21

Updated 6:19pm PST 11/29/2021 – Our sentiment prediction was right! Next step is to predict how much it’ll go up. Recently I’ve been playing around with sentiment analysis on Tweets a lot. I discovered the Twitter API over the Thanksgiving holidays and it’s like Christmas came early. Sort of like how Christmas comes earlier toContinue reading “Twitter Sentiment for Stocks? Starbucks 11/29/21”

%d bloggers like this: