Skip to content

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

Notifications You must be signed in to change notification settings

vparuthi/music-prediction

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published