Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 719 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 719 Bytes

music-predictor

A Flask web application that uses an XGBoost model to predict a user's favorite genre of music

Check out the active app here!

Installation

  1. Clone repo
  2. Create a virtualenv
  3. Install requirements
    pip3 install -r requirements.txt
    
  4. Create a config.ini file in the following format:
    [spotify api]
    CLIENT_ID=XXXXXXXXXXXXXXXXXXXXXXX
    CLIENT_SECRET=XXXXXXXXXXXXXXXXXXXXXXX
    
    Note: these keys can be obtained by creating a Spotify Developer account for free.
  5. Run the app!
    python3 app.py
    

Dataset

Kaggle Young People Survey