impression_id int64 | raw_prediction float64 | cat1 int64 | cat6 int64 | cat8 int64 | conversion int64 |
|---|---|---|---|---|---|
0 | 0.000037 | 138,937 | 28,928,366 | 29,196,072 | 0 |
1 | 0.478837 | 30,763,035 | 1,973,606 | 3,225,256 | 0 |
2 | 0.000036 | 9,312,274 | 28,928,366 | 29,196,072 | 0 |
3 | 0.000037 | 138,937 | 1,973,606 | 9,312,274 | 0 |
4 | 0.000036 | 28,928,366 | 28,928,366 | 29,196,072 | 0 |
5 | 0.000037 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
6 | 0.000037 | 30,763,035 | 32,440,041 | 29,196,072 | 0 |
7 | 0.979969 | 25,259,032 | 32,440,044 | 29,196,072 | 1 |
8 | 0.000037 | 27,093,701 | 1,973,606 | 20,754,144 | 0 |
9 | 0.785304 | 28,928,366 | 30,763,035 | 29,196,072 | 1 |
10 | 0.000037 | 30,763,035 | 1,973,606 | 5,824,233 | 0 |
11 | 0.000037 | 30,763,035 | 1,973,606 | 26,597,096 | 0 |
12 | 0.000037 | 27,093,701 | 28,928,366 | 29,196,072 | 0 |
13 | 0.000042 | 28,928,366 | 1,973,606 | 29,196,072 | 0 |
14 | 0.000037 | 30,763,035 | 30,763,035 | 29,196,072 | 0 |
15 | 0.000037 | 30,763,035 | 1,973,606 | 9,312,274 | 0 |
16 | 0.602214 | 30,763,035 | 1,973,606 | 29,841,067 | 0 |
17 | 0.000037 | 30,763,035 | 20,754,142 | 29,196,072 | 0 |
18 | 0.606176 | 30,763,035 | 1,973,606 | 3,225,256 | 0 |
19 | 0.000036 | 1,973,606 | 29,196,072 | 29,196,072 | 0 |
20 | 0.595622 | 30,763,035 | 30,763,035 | 29,196,072 | 0 |
21 | 0.000036 | 9,312,274 | 32,440,053 | 29,196,072 | 0 |
22 | 0.000037 | 30,763,035 | 5,824,233 | 29,196,072 | 0 |
23 | 0.916177 | 27,093,701 | 28,928,366 | 29,196,072 | 0 |
24 | 0.000036 | 5,824,233 | 32,440,053 | 29,196,072 | 0 |
25 | 0.216211 | 1,973,606 | 29,196,072 | 29,196,072 | 0 |
26 | 0.383933 | 30,763,035 | 5,824,235 | 29,196,072 | 0 |
27 | 0.000037 | 138,937 | 1,973,606 | 32,440,044 | 0 |
28 | 0.000037 | 30,763,035 | 1,973,606 | 20,754,144 | 0 |
29 | 0.455179 | 5,824,233 | 1,973,606 | 26,597,096 | 0 |
30 | 0.758979 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
31 | 0.336484 | 138,937 | 5,824,235 | 29,196,072 | 0 |
32 | 0.469069 | 138,937 | 32,440,041 | 29,196,072 | 0 |
33 | 0.000036 | 28,928,366 | 29,196,072 | 29,196,072 | 0 |
34 | 0.000037 | 30,763,035 | 26,597,096 | 29,196,072 | 0 |
35 | 0.536363 | 138,937 | 29,196,072 | 29,196,072 | 0 |
36 | 0.000037 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
37 | 0.000036 | 28,928,366 | 32,440,053 | 29,196,072 | 0 |
38 | 0.903034 | 28,928,366 | 26,597,096 | 29,196,072 | 0 |
39 | 0.000037 | 30,763,035 | 30,763,035 | 29,196,072 | 0 |
40 | 0.000037 | 138,937 | 29,196,072 | 29,196,072 | 0 |
41 | 0.000037 | 25,259,032 | 1,973,606 | 32,440,044 | 0 |
42 | 0.454112 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
43 | 0.785313 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
44 | 0.000037 | 27,093,701 | 1,973,606 | 20,754,144 | 0 |
45 | 0.940129 | 25,259,032 | 1,973,606 | 26,597,096 | 0 |
46 | 0.000037 | 28,928,366 | 1,973,606 | 26,597,096 | 0 |
47 | 0.000037 | 28,928,366 | 1,973,606 | 32,440,044 | 0 |
48 | 0.000037 | 30,763,035 | 1,973,606 | 20,754,144 | 0 |
49 | 0.000037 | 30,763,035 | 30,763,035 | 29,196,072 | 0 |
50 | 0.000037 | 27,093,701 | 29,196,072 | 29,196,072 | 0 |
51 | 0.000031 | 138,937 | 30,763,035 | 29,196,072 | 0 |
52 | 0.000037 | 28,928,366 | 1,973,606 | 9,312,274 | 0 |
53 | 0.000036 | 1,973,606 | 20,754,142 | 29,196,072 | 0 |
54 | 0.000037 | 138,937 | 29,196,072 | 29,196,072 | 0 |
55 | 0.000037 | 28,928,366 | 26,597,096 | 29,196,072 | 0 |
56 | 0.000033 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
57 | 0.000037 | 138,937 | 1,973,606 | 23,998,111 | 0 |
58 | 0.000037 | 25,259,032 | 29,196,072 | 29,196,072 | 0 |
59 | 0.354237 | 138,937 | 1,973,606 | 14,911,188 | 0 |
60 | 0.886736 | 28,928,366 | 1,973,606 | 26,597,096 | 0 |
61 | 0.000037 | 30,763,035 | 1,973,606 | 9,068,204 | 0 |
62 | 0.000037 | 25,259,032 | 29,196,072 | 29,196,072 | 0 |
63 | 0.000036 | 28,928,366 | 1,973,606 | 29,841,067 | 0 |
64 | 0.657502 | 30,763,035 | 28,928,366 | 29,196,072 | 0 |
65 | 0.000037 | 25,259,032 | 29,196,072 | 29,196,072 | 0 |
66 | 0.000037 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
67 | 0.000037 | 27,093,701 | 1,973,606 | 26,597,096 | 0 |
68 | 0.237361 | 1,973,606 | 1,973,606 | 9,312,274 | 0 |
69 | 0.000037 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
70 | 0.134508 | 138,937 | 1,973,606 | 5,824,233 | 0 |
71 | 0.647235 | 30,763,035 | 28,928,366 | 29,196,072 | 1 |
72 | 0.000037 | 28,928,366 | 32,440,053 | 29,196,072 | 0 |
73 | 0.000037 | 30,763,035 | 1,973,606 | 32,440,044 | 0 |
74 | 0.387205 | 138,937 | 1,973,606 | 29,841,067 | 0 |
75 | 0.373116 | 30,763,035 | 1,973,606 | 32,440,044 | 0 |
76 | 0.920762 | 25,259,032 | 5,824,235 | 29,196,072 | 0 |
77 | 0.000037 | 138,937 | 29,196,072 | 29,196,072 | 0 |
78 | 0.000037 | 30,763,035 | 1,973,606 | 9,312,274 | 0 |
79 | 0.000037 | 28,928,366 | 30,763,035 | 29,196,072 | 0 |
80 | 0.000037 | 138,937 | 1,973,606 | 26,597,096 | 0 |
81 | 0.000037 | 25,259,032 | 32,440,044 | 29,196,072 | 0 |
82 | 0.416146 | 30,763,035 | 1,973,606 | 23,998,111 | 0 |
83 | 0.000036 | 27,093,701 | 1,973,606 | 32,440,044 | 0 |
84 | 0.000037 | 28,928,366 | 1,973,606 | 29,196,072 | 0 |
85 | 0.000037 | 27,093,701 | 1,973,606 | 14,911,188 | 0 |
86 | 0.438866 | 138,937 | 5,824,235 | 29,196,072 | 0 |
87 | 0.000037 | 30,763,035 | 1,973,606 | 26,597,096 | 0 |
88 | 0.000037 | 28,928,366 | 1,973,606 | 20,754,144 | 0 |
89 | 0.000037 | 30,763,035 | 138,937 | 29,196,072 | 0 |
90 | 0.000037 | 28,928,366 | 1,973,606 | 32,440,044 | 0 |
91 | 0.000037 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
92 | 0.00004 | 5,824,233 | 30,763,035 | 29,196,072 | 0 |
93 | 0.000037 | 27,093,701 | 1,973,606 | 9,312,274 | 0 |
94 | 0.000037 | 28,928,366 | 20,754,142 | 29,196,072 | 0 |
95 | 0.944261 | 25,259,032 | 1,973,606 | 5,824,233 | 0 |
96 | 0.000037 | 28,928,366 | 32,440,041 | 29,196,072 | 0 |
97 | 0.416131 | 30,763,035 | 26,597,096 | 29,196,072 | 0 |
98 | 0.000037 | 30,763,035 | 1,973,606 | 14,911,188 | 0 |
99 | 0.000037 | 30,763,035 | 29,196,072 | 29,196,072 | 0 |
ads-ml-lab — Week 03: Calibration
The data for week 03 of ads-ml-lab, a twelve-week course that rebuilds the core model classes of ads measurement from scratch on public data. This repo exists so the leaderboard can serve downloads from a CDN instead of from a small VM.
This is a derived dataset, not a copy. It is built by
tools/prepare_data.py
from criteo/criteo-attribution-dataset.
The task
Predict, per impression, the probability that the user converted within 30 days.
conversion is an impression-level label meaning "the user who saw this impression
converted within 30 days" — not "this impression caused the conversion". Every impression
in a converting journey carries a 1. It is a legitimate CVR target; it is not attribution.
Files
| file | rows | contents |
|---|---|---|
train.csv.gz |
1,500,000 | features and the conversion label |
test.csv.gz |
400,000 | features only |
sample_submission.csv.gz |
400,000 | required submission format, filled with the train base rate |
impression_id is assigned during preparation and has no meaning upstream. It is the join
key for scoring.
How it was built
- Time-ordered split. The boundary is the 70th percentile of
timestamp, taken before subsampling. Subsampling first would let a test row predate a train row. Train is strictly earlier than test; there is no overlap and no shuffling. A random split on this data inflates AUC by an amount that looks like progress. - Subsampled to 1,500,000 train and 400,000 test rows so a submission is a few MB rather than fifty.
- Leaky columns removed from the test file:
conversion,conversion_timestamp,conversion_id,cpo, andattribution. That last one is the subtle one — it is Criteo's own last-click flag and is nonzero only on converting journeys, so shipping it would hand over the label under a different name. - The held-out labels are not in this repo.
Evaluation
The leaderboard ranks on normalised entropy (log-loss relative to a base-rate predictor), not AUC. AUC is invariant to monotone rescaling, so a model calibrated three times too high scores identically on AUC and would overbid every auction threefold. NE is a proper scoring rule and sees both ranking and calibration.
Base rate is about 4.9%, and it drifts slightly downward across the window — the test half converts a little less often than the train half. That drift is part of the problem.
Licence and attribution
CC-BY-NC-SA 4.0, inherited from the upstream dataset. Non-commercial use only, and derived works must carry the same licence.
@inproceedings{DiemertMeynet2017,
author = {{Diemert Eustache, Meynet Julien} and Galland, Pierre and Lefortier, Damien},
title = {Attribution Modeling Increases Efficiency of Bidding in Display Advertising},
booktitle = {Proceedings of the AdKDD and TargetAd Workshop, KDD, Halifax, NS, Canada, August, 14, 2017},
year = {2017},
publisher = {ACM}
}
- Downloads last month
- 45