Skip to main content

Posts

Showing posts from May, 2020

Classifying Song Genres

(image credits: Akshay Gupta, instagram: odds_are_awed ) With the boom in technology, music streaming platforms are very commonly used. We all listen to our favourite songs on these platforms. They use various classification methods in order to give personalized recommendations. It could be done by analyzing the audio or various other methods.   In my Data Camp project, I was working on data compiled by a research group known as The Echo Nest.  It has many musical   features:  acousticness, danceability, energy, instrumentalness, liveliness, speechiness, tempo, track_id, valence. These features are recorded on a scale of -1 to 1. These are the features that will be used for classification of songs as “hip-hop” or “rock”.  There is another fi le with general information about the songs. Only the Genre column is needed  from this file. It will be the target variable.   After importing data from both files and merging to form a single data frame, I checked for correlation between