You need to make Graphchi first, run install.sh to install it.

To run timeSVD++, make sure you have out( u1.base with time) and oute (u1.test with time) in this folder (or any other training/testing files you have)

./toolkits/collaborative_filtering/timesvdpp --training=out1 --validation=out1e --max_iter=1171 --quiet=1 --D=5 --lrate=0.0005 --beta=0.0005 --gamma=0.01 --lrate_mult_dec=0.999999
The worst expected RMSE on any ux.test/ux.base should be 0.929762

Note: To convert any movielens data into above compatible format use helper/timebins.py

--------------------------------------

To run SVD++, make sure you remove the time from u1.base and u1.test before running this

./toolkits/collaborative_filtering/svdpp --training=out_notime --validation=oute_notime --biassgd_lambda=1 --biassgd_gamma=0.05 --minval=1 --maxval=5 --max_iter=600 --quiet=1 --D=5 --svdpp_item_bias_step=0.0004 --svdpp_user_bias_step=0.0004 --svdpp_user_factor_step=0.0004 --svdpp_user_factor2_step=0.0004 --svdpp_item_bias_reg=1 --svdpp_user_bias_reg=1 --svdpp_user_factor_reg=5 --svdpp_user_factor2_reg=5 --svdpp_step_dec=1 --nsv=50 --nv=200
The worst expected RMSE on any ux.test/ux.base should be 0.936

--------------------------------

The appropriate files for u1.test/u1.base are present in the folder by default. You can simply run the above mentioned commands.

