This project implemented a prediction of rating of items using latent factor model
- Python 3.7.0
- Python packages:
- Numpy
First, check if you already have it installed or not.
python3 --version
If you don't have python 3 in your computer you can use the code below:
sudo apt-get update
sudo apt-get install python3
sudo pip3 install numpy
If you haven't installed pip, you can use the codes below in your terminal:
sudo apt-get update
sudo apt install python3-pip
You should check and update your pip:
pip3 install --upgrade pip
- raw_data.txt : Each rows should contain the userID, the itemID and the predicted rating respectively.
- train_user_item_score.txt : 70% of raw_data.txt chose randomly for train data.
- validation_user_item_score.txt : the remain of raw_data after creation train data made validation data.