Is Machine Learning Capable of Predicting Popularity of a Song?

Paras Patil
CodeX
Published in
5 min readApr 6, 2022

--

Music is an integral part of our lives; it sets our mood for the day or any moment. It is something almost everyone can relate to and enjoy, unless you are suffering with Musical anhedonia :(
Being a guitarist, I always had the curiosity on what are the parameters that make a song go viral. Fortunately we are born during an era where most of things are measurable, which makes it easy to predict the probability of an event happening.

In this project I have tried to draw insights from songs that were released during the last century and also predict whether or not a song will be popular. Dataset used for this analysis is from Spotify app and is available on Kaggle.

As a typical machine learning process, following steps were carried out.
• Loading libraries
• Loading dataset
• Data Cleaning
• Exploratory Data Analysis
• Splitting data into Train and Test
• Feature Scaling
• Training Models
• Model Selection

Loading Libraries

--

--