https://github.com/tedim52/discjockey
a content-based recommender system for your party playlist preferences
https://github.com/tedim52/discjockey
jupyter-notebook matplotlib pandas scikit-learn spotify-web-api
Last synced: about 1 month ago
JSON representation
a content-based recommender system for your party playlist preferences
- Host: GitHub
- URL: https://github.com/tedim52/discjockey
- Owner: tedim52
- Created: 2020-06-06T22:21:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-19T13:52:23.000Z (almost 6 years ago)
- Last Synced: 2025-02-05T23:39:48.049Z (over 1 year ago)
- Topics: jupyter-notebook, matplotlib, pandas, scikit-learn, spotify-web-api
- Language: Jupyter Notebook
- Homepage:
- Size: 9.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to make a personal DJ in 5 simple steps
### Created by @tedimitiku and @vaughncampos
We setout to build a content based recommender system that could act as your own personal DJ.
For information on how we created the recommender through data analysis, visualization, and training models, take a look at models.ipynb.
To explore how we created the DJ, take a look at discjockey.py.
For all the data we used to train and test our recommender, look at the musicdata folder.
To create your own DJ, take a look at and run main.py.
To use:
1) Create a conda environment using requirements.txt file on your computer and fork this repo.
2) Run main.py.
3) Get your party playlist id and give it to the DJ.
Tog get a playlist id, navigate to your desired party playlist on spotify and copying the last part of the url. For example my party playlist id looks like: 4RdNpG06Gzma4AuvfES6QR?si=PhZD_sK5T5C2kxkhQH9-lQ
The DJ will learn from you playlist and only accept songs that are similar to your party preferences.
4) Test our your DJ by passing it a song track!
To get a track id, navigate to a song of your choice on spotify, then go to share --> Copy URI.
The URI should look something like this: spotify:track:2374M0fQpWi3dLnB54qaLX. Copy the last part after URI after track:
so your track id should look something like this: 2374M0fQpWi3dLnB54qaLX.
After inputing your party preferences and track, the DJ will tell you if he accepts your song choice or not!
***Hack The Northeast Hackathon submission***