Skip to content
Implementation of a Song Recommendation system
C++ Makefile CMake
Branch: v2
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMakeLists.txt
Makefile
README.md
config.hpp
data.cpp
data.hpp
main.cpp
recommender.cpp
recommender.hpp

README.md

Song Recommendation System

It is a song recommender implemented using Item-Based Collaborative filtering algorithm.

This project is implemented in pure modern C++, and no extra library is used(roughly)

How to compile

1- First install dependencies:

on Ubuntu(Linux):

sudo apt install build-essetials git libtbb-dev

on MacOS:

first install xcode, And then run following command:
brew install git tbb

2- Get the source git clone https://github.com/kazemnejad/music-recommender.git && cd music_recommender
3- Compile! make

How to run

First you need to get data, downlond using the following links and put them project folder:
1- train_triplets.txt
2- kaggle_visible_evaluation_triplets.txt
3- kaggle_songs.txt
4- kaggle_users.txt

then simply execute it:
./music_recommender

You can’t perform that action at this time.