This repository contains the code for the real-world experiment conducted in the paper Doubly Robust Estimator for Ranking Metrics with Post-Click Conversions by Yuta Saito, which has been accepted to RecSys2020.
If you find this code useful in your research then please cite:
@inproceedings{saito2020doubly,
author = {Saito, Yuta},
title = {Doubly Robust Estimator for Ranking Metrics with Post-Click Conversions},
year = {2020},
booktitle = {Fourteenth ACM Conference on Recommender Systems},
pages = {92–100},
location = {Virtual Event, Brazil},
series = {RecSys '20}
}
- numpy==1.19.1
- pandas==1.1.2
- scikit-learn==0.23.1
- tensorflow==1.15.4
- lightfm==1.15.0
To run the simulations, the following datasets need to be prepared as described below.
- download the Yahoo! R3 dataset and put
train.txt
andtest.txt
files into./data/yahoo/
directory. - download the Coat dataset and put
train.ascii
andtest.ascii
files into./data/coat/
directory.
To run the real-world experiment, navigate to the src/
directory and run the following commands
python main.py --num_sims 5 --data coat
python main.py --num_sims 20 --data yahoo
Once the code is finished executing, you can find the summarized results (relative-RMSEs, lower value is better) in ./results/
directory.