Recommendations as Treatments: Debiasing Evaluation and Learning

All data and code is released under the Creative Commons BY-NC license.

Code

Installation

This code has been developed under Python 2.7. Assuming you have a copy of Python 2.7 already running, please install all required dependencies by following the steps below.

Linux:

pip install -r requirements.txt

Windows (assuming the Anaconda Distribution):

conda install --yes --file requirements.txt

First Steps

To run the code on the Coat dataset below (already included in source code), run the script files in the examples/ subdirectory.

Linux:

./train.sh
./test.sh

Windows:

train.bat
test.bat

Coat Dataset

The following archive the training and test data used in our experiments, along with our estimated propensities and user-item features.