Music recommendation experiments
Stop your local mongo service:
sudo service mongod stop
Then run the dockerized mongo
pipenv run mongo
To download data from last.fm, use:
pipenv run ./download_lastfm.py
Then, to download acoustic info for each song from spotify, run
pipenv run ./download_spotify.py
I'm switching to conda. To activate the environment, run:
conda activate music-recommender
Conda cheatsheet: https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf
Use one of the commands in recommender/app/commands
, for example:
pipenv run python recommender/app/commands/train_max_likelooh_recommender.py
If using conda, first activate the env, and then run the command as usual
python recommender/app/commands/run_msd_recommendation.py