Skip to main content

Mining Modern Music: The Classification of Popular Songs

  • Conference paper
  • First Online:
Advances in Data Science and Information Engineering

Abstract

The rising popularity of streaming services has made in-depth musical data more accessible than ever before and has created new opportunities for data mining. This project utilizes data from 19,000 songs made available by Spotify. Several data mining algorithms (including J48 Decision Trees, Random Forest, Simple K Means, NaiveBayes, ZeroR, and JRIP) were used to assess the data as a classification task with the target class being popularity. The data was pre-processed and the popularity class was split into two different schemes, both of which were used to train the aforementioned algorithms with the goal of attaining the highest possible classification accuracy. Once reliable models were produced, the best performing algorithms were used in conjunction with association algorithms and Information Gain evaluation in order to assess the importance of features such as key, acousticness, tempo, instrumentalness, etc., in the prediction of the popularity class. Through this lens certain groups of attributes emerged as indicators of what makes a song popular or unpopular, and relationships between the attributes themselves were revealed as well. Overall it was concluded that popular music does in fact have patterns and a formulaic nature, making the “art” of creating music seem more like a science. However, within those patterns enough variation can be seen to account for different genres and musical moods that still persist in this era of pop music, and support the idea that as a modern musical community we still maintain some diversity.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. F. Fibe, I.H. Witten, Weka 3.8 (Hamilton, New Zealand, 1993)

    Google Scholar 

  2. “Get Audio Features for a Track,” Spotify for Developers

    Google Scholar 

  3. E. Ramirez, 19,000 Spotify Songs (Kaggle, 2019)

    Google Scholar 

  4. J.D.D. Santos, Is my Spotify music boring? An analysis involving music, data, and machine learning. Towards Data Sci (2017)

    Google Scholar 

Download references

Acknowledgments

I thank Dr. Gary Weiss (Fordham University) for sparking my interest in the powerful field of data mining.

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Genna, C. (2021). Mining Modern Music: The Classification of Popular Songs. In: Stahlbock, R., Weiss, G.M., Abou-Nasr, M., Yang, CY., Arabnia, H.R., Deligiannidis, L. (eds) Advances in Data Science and Information Engineering. Transactions on Computational Science and Computational Intelligence. Springer, Cham. https://doi.org/10.1007/978-3-030-71704-9_43

Download citation

Publish with us

Policies and ethics