Have you ever thought about what makes up a hit song?
Could it be its lyrics? Its social media response? Or is it as simple as its duration?
In an attempt to answer these questions, I will develop a Twitter bot on Python that uses a random forest classification model to predict a song’s popularity based on social media sentiment, lyric analysis, streaming, and past Billboard chart data. I will be collecting social media data from Twitter through GetOldTweets3, lyric data from Genius using LyricsGenius, streaming data from Spotify through Spotipy, and past chart data from Billboard through Billboard.py.