https://github.com/danlooo/spotify-datasci
Predicting the genre of songs using Deep Learning
https://github.com/danlooo/spotify-datasci
deep-learning machine-learning tensorflow
Last synced: about 2 months ago
JSON representation
Predicting the genre of songs using Deep Learning
- Host: GitHub
- URL: https://github.com/danlooo/spotify-datasci
- Owner: danlooo
- Created: 2022-09-29T15:34:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T14:32:18.000Z (over 2 years ago)
- Last Synced: 2025-03-20T12:17:38.763Z (over 1 year ago)
- Topics: deep-learning, machine-learning, tensorflow
- Language: R
- Homepage:
- Size: 4.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Data Science
Exploring properties of songs and predicting track features like its genre from spatially scaled notes.
## Abstract
Music genres are often composed of particular pitch patterns that can be used for prediction.
The Spotify API provides features for entire tracks, e.g. its loudness or acousticness scores, as well as the sequence of the individual pitches (notes).
Totaling 3600 tracks across techno, rock, jazz and classicsal generes were analyzed and used for both classical Machine Learning and Deep Learning modeling methods.
Validation accuracy of both approaches were similar suggesting that more sophisticated network architectures are needed to increase the model performance.
## Tech stack
- [keras](https://keras.io/) deep learning framework
- [Tensorflow](https://www.tensorflow.org/) deep learning framework
- [tidymodels](https://www.tidymodels.org/) machine learning framework
- [tidyverse](https://www.tidyverse.org/) data wrangling
- [R targets](https://books.ropensci.org/targets/) pipeline system
- [spotifyr](https://www.rcharlie.com/spotifyr/) REST API calls
- [quarto](https://quarto.org/) notebook documentation
Keywords:
- Spatial data analysis
- deep learning
- REST APIs
[This project on GitHub Pages](https://danlooo.github.io/spotify-datasci/)
## Development
Create a file `.env` in the main directory to define the environment variables `SPOTIFY_CLIENT_ID` and `SPOTIFY_CLIENT_SECRET`