Saturday, February 27, 2021
  • Setup menu at Appearance » Menus and assign menu to Top Bar Navigation
Advertisement
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News
No Result
View All Result
NikolaNews
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News
No Result
View All Result
NikolaNews
No Result
View All Result
Home Neural Networks

Predicting Song Popularity Combining Audio Features with Metadata

July 4, 2020
in Neural Networks
Predicting Song Popularity Combining Audio Features with Metadata
585
SHARES
3.3k
VIEWS
Share on FacebookShare on Twitter

Leveraging Spotify’s API and other sources for the Hit Song Science research field. The whole project (report and code source) can be viewed here.

Introduction

I decided to use my Master Thesis to apply the concepts of Machine Learning I have been learning over the year with online courses. The idea for me was to use it as a first Data Science project. Being passionate about music, I chose to tackle the Hit Song Science subject which consists in predicting the overall popularity of a track.

You might also like

Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021

Tackling ethics in AI algorithms: the case of Salesforce | by Iflexion | Feb, 2021

Creative Destruction and Godlike Technology in the 21st Century | by Madhav Kunal

Methodology and Results

To do so, I built my own database of Spotify’s Top 2018 and 2019 songs and I extracted additional information from Genius.com, Google Trends, MusicBrainz and LastFM. To define the popularity of a music, I used the continuous variable, provided by Spotify, and a binary one (top 20% of the dataset using the other popularity feature). From those data, I created new features, which includes Google Trends Standard Deviation over a 3-month period ending one week after the release of an album, Peak (indicator of the highest interest position) or Holiday Period (dummy variable indicating the release of a track during the months of May, June, July or August). The idea was to use three different subsets: Audio Features, Artist Metadata and Song Metadata.

1. Natural Language Generation:
The Commercial State of the Art in 2020

2. This Entire Article Was Written by Open AI’s GPT2

3. Learning To Classify Images Without Labels

4. Becoming a Data Scientist, Data Analyst, Financial Analyst and Research Analyst

First, I did an Exploratory Data Analysis to discover the variable distributions, determine the correlations between them and visualize other kinds of relationships. Pearson and Spearman tests were also performed between the quantitative variables and the song popularity. Then, I tested the following models according to the literature review: Linear Regression, Logistic Regression, K-Nearest Neighbors, Random Forest, Support Vector Machines (linear and gaussian kernels) and a Single-Layer Perceptron. I also used feature selection and regularization (L1 and L2) methods to improve my results and prevent the models from overfitting. The results were finally compared to a dummy model using a Test set. Unsurprisingly, the perceptron yielded the best result with a F1 score of 0.70 (Precision of 0.58 and Recall of 0.88).

Conclusion and Recommendations

To conclude, the audio features are indeed not sufficient to explain the popularity of a track and metadata are essential. The selection methods I used gave me a set of influential features for both kinds of tasks (regression and classification), with a majority of metadata (even if I mostly had song/artist metadata in the dataset). It was interesting to observe that Google Trends features exerted a significant influence on the outcome of the classifiers, increasing the probability for a track to be a Hit. I also found the classification task to be more promising, due to the comparison of the models with a dummy classifier and a dummy regressor.

Artificial Intelligence Jobs

I would like to end this article by presenting some ideas that could be tried for further work on the Hit Song Science research field:

  • Try to constitute a dataset per genre and to train models on each dataset.
  • Build a large dataset, thinking about the distribution of Spotify’s popularity value. There is now an offset limit with Spotify’s API for the search point so I would recommend using lists of Spotify’s track ID that can be found on Kaggle for instance, paying attention to the release date of the tracks.
  • Use detailed audio features which are available on Spotify’s API. The ones I used summarize that information but probably simplify it.
  • Use the market feature to create an indicator of the number of countries where the song is available. Maybe various strategies for launching an artist could be interpreted: is it better to focus on some markets or to promote a track worldwide (use historical data)?
  • Many tags can be obtained from LastFM’s API, which can be useful to understand how the song is perceived by the listeners.
  • Tackle the Hit Song Science problem as a multi-classification task to smooth the definition of popularity.
  • Use a combination of Spotify’s followers, LastFM’s subscribers, Deezer’s subscribers, Genius’s page views or Instagram’s followers to analyse the popularity of an artist.

This project was very interesting, and I learnt a lot as it was my first application of the content I had been working on with online courses since the beginning of the year. I discovered many other resources and books to deepen my understanding of Data Science and I look forward to improving myself and evolving in the field of data.

Huge thanks to Julien Fouquau, my thesis tutor at ESCP Business School and Ulysse Couerbe for giving me a great list of online courses to start learning the basics of Machine Learning.

Credit: BecomingHuman By: Stanislas de Planta

Previous Post

Windows 10 2004: Microsoft kills memory bugs behind 5% to 10% of Windows flaws

Next Post

Machine Learning Applications in Retail: Use-Cases for Marketing, In-Store Management, and Business Processes

Related Posts

Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021
Neural Networks

Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021

February 27, 2021
Tackling ethics in AI algorithms: the case of Salesforce | by Iflexion | Feb, 2021
Neural Networks

Tackling ethics in AI algorithms: the case of Salesforce | by Iflexion | Feb, 2021

February 27, 2021
Creative Destruction and Godlike Technology in the 21st Century | by Madhav Kunal
Neural Networks

Creative Destruction and Godlike Technology in the 21st Century | by Madhav Kunal

February 26, 2021
How 3D Cuboid Annotation Service is better than free Tool? | by ANOLYTICS
Neural Networks

How 3D Cuboid Annotation Service is better than free Tool? | by ANOLYTICS

February 26, 2021
Role of Image Annotation in Applying Machine Learning for Precision Agriculture | by ANOLYTICS
Neural Networks

Role of Image Annotation in Applying Machine Learning for Precision Agriculture | by ANOLYTICS

February 26, 2021
Next Post
Machine Learning Applications in Retail: Use-Cases for Marketing, In-Store Management, and Business Processes

Machine Learning Applications in Retail: Use-Cases for Marketing, In-Store Management, and Business Processes

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

Plasticity in Deep Learning: Dynamic Adaptations for AI Self-Driving Cars

Plasticity in Deep Learning: Dynamic Adaptations for AI Self-Driving Cars

January 6, 2019
Microsoft, Google Use Artificial Intelligence to Fight Hackers

Microsoft, Google Use Artificial Intelligence to Fight Hackers

January 6, 2019

Categories

  • Artificial Intelligence
  • Big Data
  • Blockchain
  • Crypto News
  • Data Science
  • Digital Marketing
  • Internet Privacy
  • Internet Security
  • Learn to Code
  • Machine Learning
  • Marketing Technology
  • Neural Networks
  • Technology Companies

Don't miss it

Berlin resident jailed for threatening to bomb NHS hospital unless Bitcoin ransom was paid
Internet Security

Berlin resident jailed for threatening to bomb NHS hospital unless Bitcoin ransom was paid

February 27, 2021
The Ethereum Virtual Machine (EVM)
Data Science

The Ethereum Virtual Machine (EVM)

February 27, 2021
Healthcare leaders debunk 3 myths about machine learning
Machine Learning

Providence exec explains the differences, their healthcare applications

February 27, 2021
Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021
Neural Networks

Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021

February 27, 2021
Chrome will soon try HTTPS first when you type an incomplete URL
Internet Security

Chrome will soon try HTTPS first when you type an incomplete URL

February 27, 2021
Cisco Releases Security Patches for Critical Flaws Affecting its Products
Internet Privacy

Cisco Releases Security Patches for Critical Flaws Affecting its Products

February 27, 2021
NikolaNews

NikolaNews.com is an online News Portal which aims to share news about blockchain, AI, Big Data, and Data Privacy and more!

What’s New Here?

  • Berlin resident jailed for threatening to bomb NHS hospital unless Bitcoin ransom was paid February 27, 2021
  • The Ethereum Virtual Machine (EVM) February 27, 2021
  • Providence exec explains the differences, their healthcare applications February 27, 2021
  • Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021 February 27, 2021

Subscribe to get more!

© 2019 NikolaNews.com - Global Tech Updates

No Result
View All Result
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News

© 2019 NikolaNews.com - Global Tech Updates