Skip to content

Experiments of the "Widespread flaws in offline evaluation of recommender systems" paper

Notifications You must be signed in to change notification settings

hidasib/recsys_eval_flaws

Repository files navigation

recsys_eval_flaws

Experiments of the "Widespread flaws in offline evaluation of recommender systems" paper

Setup: Re​pository

  1. Clone the repository. ​
  2. In the root folder of the repository, run the following command to initialize the submodules:
    git submodule update --init --recursive
    • 📝 NOTE: If the submodules would get some major update and pulling the latest versions would be necessary, run the following command:
      git submodule update --remote --recursive

Setup: Environments

  1. Install NVIDIA Driver

    • make sure the driver supports CUDA Toolkit version 11.3.1
    • cuda-drivers is enough, but installing both cuda-drivers and cuda-toolkit is correct as well (the environemnt described in the following steps, will install cudatoolkit, and makes sure it uses the environemnt's cudatoolkit instead of a global version).
  2. Install Anaconda by following the instructions here. You can choose either Anaconda or Miniconda.

  3. Conda Environments

    • For any jupyter-notebook (experiments, vsknn train / test, GRU4Rec train / test, etc.) you can use the environment described in conda_eval_flaws_env.yml. To create the eval_flaws environment, run the following command:
      conda env create -f eval_flaws_env.yml
    • GRU4Rec experiments require the gru4rec_theano_gpu environment. Training and Testing will be ran automatically when necessary at the beginning of the experiment notebooks. (Training and testing can be executed manually as well, from the gru4rec_theano_gpu environment.) To create the environment, please run:
      bash conda_gru4rec_theano_gpu_install.sh
      • Installation using conda_gru4rec_theano_gpu_install.sh is strongly advised, but the environment can also be directly created with conda from the conda_gru4rec_theano_gpu.yml. However the installation script makes some extra steps to ensure the environment uses the correct cudatoolkit (which is installed by the environemnt, avoiding collusion with the system cudatoolkit), in this case, these steps must be perfomed manually (refer to conda_gru4rec_theano_gpu_install.sh for the exact steps).
    • 📝 NOTE: The installation process might take a few minutes, it is normal.
    • 📝 NOTE: For the notebooks the eval_flaws environment should be used. When gru4rec training or testing scripts are executed automatically from the notebooks, it is ensured that they will be executed from the gru4rec_theano_gpu environment.

Usage

Run the notebooks

Download link to the datasets

About

Experiments of the "Widespread flaws in offline evaluation of recommender systems" paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published