A minimal command-line tool that takes a song title and returns 10 recommendations.
Data is loaded from a CSV file and a pre-trained similarity model (pickle).
Clone the repository and install dependencies:
git https://github.com/parvvaresh/Music-recommender-system
cd Music-recommender-system
pip install -r requirements.txt
Run locally:
python RJ_Recommendation_System.py "Gentleman"
Example output:
rank musicName artistName
1 Nakoni Bavar Zedbazi
2 Mr. Lodeh Amir Tataloo
3 To Ke Nisti Pisham Masih
4 Moohat Mohsen Yeganeh
5 Doctor Sasy
6 Harjaye Shahr Ali Yasini
7 Tekoon Bede Arash
8 Ashegham Kardi Hoorosh Band
9 Ey Vay Sahar
10 Ey Joonam Sami Beigi
Build the image:
docker build -t radiojavan-cli .
Run:
docker run --rm radiojavan-cli "Gentleman"
Run tests with pytest:
pytest -v
Run linter (flake8):
flake8 .