Rebuild dbinfer from the original 4DBInfer archives
Browse filesRegenerated by provenance/dbinfer.py from https://data.dgl.ai/mtbench/20240304-<name>.tar (sha256-pinned), replacing the port derived from dbinfer-relbench-adapter's db.zip artifacts.
Fixes: foreign keys were 99.9-100% null (validated against the parent's column count); real primary keys were overwritten before that validation; foreign keys to non-materialized key domains were dropped; task entity ids used a task-local remapping unrelated to the database's; task time columns were cast from integers into 1970 timestamps; classification targets were relabelled by sorted-string order and task_type inferred from cardinality; undeclared label and full-history-aggregate columns were published.
Results computed against the previous revision are not comparable.
- README.md +89 -22
- STATS/databases.parquet +2 -2
- STATS/tasks.parquet +2 -2
- dbinfer-amazon/README.md +27 -3
- dbinfer-amazon/db/Customer.parquet +2 -2
- dbinfer-amazon/db/Product.parquet +2 -2
- dbinfer-amazon/db/Review.parquet +2 -2
- dbinfer-amazon/manifest.yaml +7 -7
- dbinfer-amazon/schema.svg +74 -82
- dbinfer-amazon/tasks/churn/manifest.yaml +2 -3
- dbinfer-amazon/tasks/churn/test.parquet +1 -1
- dbinfer-amazon/tasks/churn/train.parquet +2 -2
- dbinfer-amazon/tasks/churn/val.parquet +1 -1
- dbinfer-amazon/tasks/purchase/manifest.yaml +9 -6
- dbinfer-amazon/tasks/purchase/test.parquet +2 -2
- dbinfer-amazon/tasks/purchase/train.parquet +2 -2
- dbinfer-amazon/tasks/purchase/val.parquet +2 -2
- dbinfer-amazon/tasks/rating/manifest.yaml +7 -5
- dbinfer-amazon/tasks/rating/test.parquet +2 -2
- dbinfer-amazon/tasks/rating/train.parquet +2 -2
- dbinfer-amazon/tasks/rating/val.parquet +2 -2
- dbinfer-avs/README.md +11 -1
- dbinfer-avs/db/Brand.parquet +3 -0
- dbinfer-avs/db/Category.parquet +3 -0
- dbinfer-avs/db/Chain.parquet +3 -0
- dbinfer-avs/db/Company.parquet +3 -0
- dbinfer-avs/db/Customer.parquet +3 -0
- dbinfer-avs/db/History.parquet +2 -2
- dbinfer-avs/db/Offer.parquet +2 -2
- dbinfer-avs/db/Transaction.parquet +2 -2
- dbinfer-avs/manifest.yaml +39 -9
- dbinfer-avs/schema.svg +206 -122
- dbinfer-avs/tasks/repeater/manifest.yaml +2 -3
- dbinfer-avs/tasks/repeater/test.parquet +2 -2
- dbinfer-avs/tasks/repeater/train.parquet +2 -2
- dbinfer-avs/tasks/repeater/val.parquet +2 -2
- dbinfer-diginetica/README.md +25 -2
- dbinfer-diginetica/db/Click.parquet +2 -2
- dbinfer-diginetica/db/Orders.parquet +3 -0
- dbinfer-diginetica/db/Product.parquet +1 -1
- dbinfer-diginetica/db/ProductNameToken.parquet +2 -2
- dbinfer-diginetica/db/Purchase.parquet +2 -2
- dbinfer-diginetica/db/Query.parquet +2 -2
- dbinfer-diginetica/db/QueryResult.parquet +2 -2
- dbinfer-diginetica/db/QuerySearchstringToken.parquet +2 -2
- dbinfer-diginetica/db/Session.parquet +3 -0
- dbinfer-diginetica/db/Token.parquet +3 -0
- dbinfer-diginetica/db/User.parquet +3 -0
- dbinfer-diginetica/db/View.parquet +2 -2
- dbinfer-diginetica/manifest.yaml +48 -23
|
@@ -3,6 +3,8 @@ tags:
|
|
| 3 |
- relbench
|
| 4 |
- relational-deep-learning
|
| 5 |
pretty_name: RelBench dbinfer datasets
|
|
|
|
|
|
|
| 6 |
configs:
|
| 7 |
- config_name: databases
|
| 8 |
data_files:
|
|
@@ -19,33 +21,51 @@ configs:
|
|
| 19 |
This repository hosts the **dbinfer** family of relational datasets in the RelBench 3.0
|
| 20 |
manifest format, one subdirectory per dataset. The datasets originate from the
|
| 21 |
[4DBInfer benchmark](https://github.com/awslabs/multi-table-benchmark) (data version
|
| 22 |
-
`20240304`)
|
| 23 |
-
|
|
|
|
| 24 |
|
| 25 |
-
Each subdirectory is a self-describing RelBench dataset (`manifest.yaml` + plain
|
| 26 |
-
+ `tasks/<task>/`); open its `schema.svg` for a zoomable
|
|
|
|
| 27 |
|
| 28 |
## Datasets
|
| 29 |
|
| 30 |
-
| dataset | domain | tasks |
|
| 31 |
-
|---|---|---|
|
| 32 |
-
| [`dbinfer-
|
| 33 |
-
| [`dbinfer-
|
| 34 |
-
| [`dbinfer-
|
| 35 |
-
| [`dbinfer-
|
| 36 |
-
| [`dbinfer-
|
| 37 |
-
| [`dbinfer-
|
| 38 |
-
| [`dbinfer-
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
## Loading
|
| 44 |
|
| 45 |
```python
|
| 46 |
import relbench
|
| 47 |
-
ds = relbench.load_dataset("dbinfer-diginetica")
|
| 48 |
-
task = relbench.load_task("dbinfer-diginetica", "ctr")
|
| 49 |
db = ds.get_db()
|
| 50 |
train = task.get_table("train")
|
| 51 |
```
|
|
@@ -54,15 +74,62 @@ See the RelBench
|
|
| 54 |
[CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md)
|
| 55 |
for the manifest layout.
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
## Citation
|
| 58 |
|
| 59 |
These datasets are from the 4DBInfer benchmark. If you use them, please cite:
|
| 60 |
|
| 61 |
```bibtex
|
| 62 |
-
@
|
| 63 |
-
title={4DBInfer: A 4D Benchmarking Toolbox for Graph-Centric Predictive Modeling on Relational
|
| 64 |
-
author={Wang, Minjie and Gan, Quan and Wipf, David and Cai, Zhenkun and Li, Ning and Tang, Jianheng and Zhang, Yanlin and Zhang, Zizhao and Mao, Zunyao and Song, Yakun and Wang, Yanbo and Li, Jiahang and Zhang, Han and Yang, Guang and Qin, Xiao and Lei, Chuan and Zhang, Muhan and Zhang, Weinan and Faloutsos, Christos and Zhang, Zheng},
|
| 65 |
-
|
| 66 |
-
year={2024}
|
| 67 |
}
|
| 68 |
```
|
|
|
|
| 3 |
- relbench
|
| 4 |
- relational-deep-learning
|
| 5 |
pretty_name: RelBench dbinfer datasets
|
| 6 |
+
size_categories:
|
| 7 |
+
- 100M<n<1B
|
| 8 |
configs:
|
| 9 |
- config_name: databases
|
| 10 |
data_files:
|
|
|
|
| 21 |
This repository hosts the **dbinfer** family of relational datasets in the RelBench 3.0
|
| 22 |
manifest format, one subdirectory per dataset. The datasets originate from the
|
| 23 |
[4DBInfer benchmark](https://github.com/awslabs/multi-table-benchmark) (data version
|
| 24 |
+
`20240304`), built directly from the original archives that `dbinfer_bench` itself
|
| 25 |
+
downloads (`https://data.dgl.ai/mtbench/20240304-<name>.tar`). Labels are the source's own, served as-is
|
| 26 |
+
(every task has `kind: external`).
|
| 27 |
|
| 28 |
+
Each subdirectory is a self-describing RelBench dataset (`manifest.yaml` + plain
|
| 29 |
+
`db/*.parquet` + `tasks/<task>/`); open its `schema.svg` for a zoomable
|
| 30 |
+
entity-relationship diagram.
|
| 31 |
|
| 32 |
## Datasets
|
| 33 |
|
| 34 |
+
| dataset | domain | tables | tasks |
|
| 35 |
+
|---|---|---|---|
|
| 36 |
+
| [`dbinfer-amazon`](dbinfer-amazon) | E-commerce (reviews) | 3 | `churn`, `purchase`, `rating` |
|
| 37 |
+
| [`dbinfer-avs`](dbinfer-avs) | Retail (Acquire Valued Shoppers) | 8 | `repeater` |
|
| 38 |
+
| [`dbinfer-diginetica`](dbinfer-diginetica) | E-commerce (sessions) | 12 | `ctr`, `purchase` |
|
| 39 |
+
| [`dbinfer-outbrain-small`](dbinfer-outbrain-small) | Content recommendation | 9 | `ctr` |
|
| 40 |
+
| [`dbinfer-retailrocket`](dbinfer-retailrocket) | E-commerce (behaviour) | 7 | `cvr` |
|
| 41 |
+
| [`dbinfer-seznam`](dbinfer-seznam) | Digital advertising | 4 | `charge`, `prepay` |
|
| 42 |
+
| [`dbinfer-stackexchange`](dbinfer-stackexchange) | Online community (Q&A) | 9 | `churn`, `upvote` |
|
| 43 |
|
| 44 |
+
Table counts include the single-column key tables materialized for the foreign-key targets
|
| 45 |
+
that 4DBInfer declares without a payload of their own (`Item`, `Visitor`, `Customer`,
|
| 46 |
+
`Chain`, `Brand`, `Category`, `Company`, `Session`, `User`, `Orders`, `Token`); see each
|
| 47 |
+
dataset card.
|
| 48 |
+
|
| 49 |
+
> **`dbinfer-outbrain-small` has almost no referential integrity, in the source.** 4DBInfer
|
| 50 |
+
> subsampled its tables independently, so ~99.9% of its foreign keys -- and all but 58 of
|
| 51 |
+
> 69,543 distinct train entities of its `ctr` task -- point at rows that were not kept. The
|
| 52 |
+
> previous revision hid this behind all-null keys. There is no full-size `outbrain` archive
|
| 53 |
+
> upstream. Its card has the numbers.
|
| 54 |
+
|
| 55 |
+
Several tasks derive their label from a column that is also in the database
|
| 56 |
+
(`retailrocket/cvr` <- `View.added_to_cart`, `seznam/charge` <- `Dobito.sluzba`,
|
| 57 |
+
`seznam/prepay` <- `Probehnuto.sluzba`, `outbrain-small/ctr` <- `Click.clicked`,
|
| 58 |
+
`amazon/rating` <- `Review.rating`). Each such task declares `remove_columns`; the column is
|
| 59 |
+
kept in `db/` so the database stays faithful to 4DBInfer. RelBench's loader currently
|
| 60 |
+
honours `remove_columns` only for `kind: autocomplete` tasks, so drop it yourself for these
|
| 61 |
+
`external` ones. Test labels are outside `get_db(upto_test_timestamp=True)` regardless.
|
| 62 |
|
| 63 |
## Loading
|
| 64 |
|
| 65 |
```python
|
| 66 |
import relbench
|
| 67 |
+
ds = relbench.load_dataset("relbench/dbinfer/dbinfer-diginetica")
|
| 68 |
+
task = relbench.load_task("relbench/dbinfer/dbinfer-diginetica", "ctr")
|
| 69 |
db = ds.get_db()
|
| 70 |
train = task.get_table("train")
|
| 71 |
```
|
|
|
|
| 74 |
[CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md)
|
| 75 |
for the manifest layout.
|
| 76 |
|
| 77 |
+
## Provenance and revision history
|
| 78 |
+
|
| 79 |
+
Generated by
|
| 80 |
+
[`provenance/dbinfer.py`](https://github.com/snap-stanford/relbench/blob/main/provenance/dbinfer.py),
|
| 81 |
+
which pins the sha256 of each source archive; verified by
|
| 82 |
+
[`provenance/check_dbinfer.py`](https://github.com/snap-stanford/relbench/blob/main/provenance/check_dbinfer.py).
|
| 83 |
+
Port decisions -- which columns are kept, how implicit key domains are materialized, how
|
| 84 |
+
keys are reindexed -- are documented in that file's module docstring, and each dataset card
|
| 85 |
+
lists the payload columns it drops.
|
| 86 |
+
|
| 87 |
+
**This collection was rebuilt from the original 4DBInfer archives.** The previous revision
|
| 88 |
+
was derived from pre-built `db.zip` artifacts produced by the upstream
|
| 89 |
+
`dbinfer-relbench-adapter` export pipeline, which corrupted the data in ways that were not
|
| 90 |
+
visible from the schema:
|
| 91 |
+
|
| 92 |
+
* **Every declared foreign key was 99.9-100% null.** The adapter validated foreign keys
|
| 93 |
+
against `len(parent_table)` where the parent was a `{column: array}` dict -- i.e.
|
| 94 |
+
against the parent's *column count* -- so all larger key values were set to `NaN`. None
|
| 95 |
+
of the seven databases could be joined.
|
| 96 |
+
* **Real primary keys were overwritten** with `np.arange(n)` before that validation, so the
|
| 97 |
+
key correspondence was already gone.
|
| 98 |
+
* **Foreign keys to non-materialized key domains were dropped**, amputating the schema
|
| 99 |
+
(`retailrocket/View` was left with no foreign keys at all).
|
| 100 |
+
* **Task entity ids were remapped through a task-local mapping** unrelated to the
|
| 101 |
+
database's, so label rows did not reference the database.
|
| 102 |
+
* **Task time columns were destroyed** (`1970-01-01 00:00:00.000000022`) by casting the
|
| 103 |
+
source's integer-valued columns with `astype('datetime64[ns]')`.
|
| 104 |
+
* **Classification targets were silently relabelled** by sorted-string order, and
|
| 105 |
+
`task_type` was inferred from target cardinality -- turning `amazon/rating`, a 4DBInfer
|
| 106 |
+
regression/RMSE task, into multiclass, and both retrieval tasks into multiclass.
|
| 107 |
+
* **Undeclared payload columns were published**, including `Posts.Score` (from which
|
| 108 |
+
`stackexchange/upvote`'s label is derived), `History.repeater` (`avs/repeater`'s label
|
| 109 |
+
itself), and full-history aggregates like `Users.Reputation/UpVotes/Views`.
|
| 110 |
+
* **`val_timestamp` / `test_timestamp` fell after the end of the data**, so
|
| 111 |
+
`get_db(upto_test_timestamp=True)` trimmed nothing and gave no temporal protection at all
|
| 112 |
+
(`dbinfer-retailrocket` claimed `2015-09-21` against a last event of `2015-09-18`;
|
| 113 |
+
`dbinfer-diginetica` claimed `2016-11-12`; `dbinfer-seznam` `2015-10-04` against
|
| 114 |
+
`2015-10-01`). They also did not bracket the source's own splits -- seznam's val labels
|
| 115 |
+
start at `2015-04-01` and its test labels at `2015-07-01`.
|
| 116 |
+
|
| 117 |
+
The current revision fixes all of the above: foreign keys resolve, primary keys are dense,
|
| 118 |
+
implicit key domains are materialized as tables, task entity columns index their entity
|
| 119 |
+
table, time columns are real timestamps, targets keep their source values, `task_type`
|
| 120 |
+
follows the source, and each task declares `remove_columns` for any database column its
|
| 121 |
+
label is derived from. **Results computed against the previous revision are not
|
| 122 |
+
comparable.**
|
| 123 |
+
|
| 124 |
## Citation
|
| 125 |
|
| 126 |
These datasets are from the 4DBInfer benchmark. If you use them, please cite:
|
| 127 |
|
| 128 |
```bibtex
|
| 129 |
+
@inproceedings{wang2024fourdbinfer,
|
| 130 |
+
title = {{4DBInfer}: A {4D} Benchmarking Toolbox for Graph-Centric Predictive Modeling on Relational Databases},
|
| 131 |
+
author = {Wang, Minjie and Gan, Quan and Wipf, David and Cai, Zhenkun and Li, Ning and Tang, Jianheng and Zhang, Yanlin and Zhang, Zizhao and Mao, Zunyao and Song, Yakun and Wang, Yanbo and Li, Jiahang and Zhang, Han and Yang, Guang and Qin, Xiao and Lei, Chuan and Zhang, Muhan and Zhang, Weinan and Faloutsos, Christos and Zhang, Zheng},
|
| 132 |
+
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
|
| 133 |
+
year = {2024}
|
| 134 |
}
|
| 135 |
```
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14c962ef7d84bcb863052e68adbaae4c554442d162d5ddc65165d3c7113fca02
|
| 3 |
+
size 14300
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1860e13c5cd347fdaf977fdd87ff66cae92be52e12c3d0d92e884817238eb797
|
| 3 |
+
size 14961
|
|
@@ -10,9 +10,33 @@ Amazon from the 4DBInfer benchmark: a large product-review dataset linking users
|
|
| 10 |
|
| 11 |
| task | kind | type | description |
|
| 12 |
|---|---|---|---|
|
| 13 |
-
| `
|
| 14 |
-
| `purchase` | external |
|
| 15 |
-
| `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
## Loading
|
| 18 |
|
|
|
|
| 10 |
|
| 11 |
| task | kind | type | description |
|
| 12 |
|---|---|---|---|
|
| 13 |
+
| `rating` | external | regression | Predict the star rating a customer gives a product (`product_id` names the product; 4DBInfer scores this as regression/RMSE). |
|
| 14 |
+
| `purchase` | external | link_prediction | Rank products a customer will purchase. 4DBInfer's MRR retrieval protocol: `train` holds positives only; `val`/`test` enumerate candidates with `label` and `query_idx`. Score with MRR over those candidates -- RelBench's default link metric (MAP) is a different protocol. |
|
| 15 |
+
| `churn` | external | binary_classification | Predict whether a customer churns (stops reviewing/purchasing). |
|
| 16 |
+
|
| 17 |
+
## Port notes
|
| 18 |
+
|
| 19 |
+
Built from the original 4DBInfer archive (`https://data.dgl.ai/mtbench/20240304-amazon.tar`), keeping exactly the columns its `metadata.yaml` declares. Primary keys are reindexed to `0..n-1` and every foreign key -- in the database and in the task labels -- is remapped through the same mapping.
|
| 20 |
+
|
| 21 |
+
Undeclared payload columns dropped:
|
| 22 |
+
|
| 23 |
+
* `Customer`: `customer_name`
|
| 24 |
+
|
| 25 |
+
### Label columns in the database
|
| 26 |
+
|
| 27 |
+
4DBInfer derives some labels from a column that is itself part of the database, so a model reading that row can read its own label:
|
| 28 |
+
|
| 29 |
+
* `rating` -> `Review.rating`
|
| 30 |
+
* `purchase` -> `Review.product_id`
|
| 31 |
+
|
| 32 |
+
Each such task declares `remove_columns`, and the column is left in `db/` so the database stays faithful to the source. Note that RelBench's loader currently applies `remove_columns` only to `kind: autocomplete` tasks (`Dataset.get_db` calls `get_modified_db` only when `target_col` is set), so for these `external` tasks **drop the column yourself** before training. Because `get_db(upto_test_timestamp=True)` trims the database at `test_timestamp`, test labels are outside the visible database either way -- the exposure is on the train and val rows.
|
| 33 |
+
|
| 34 |
+
### Known upstream defects
|
| 35 |
+
|
| 36 |
+
The three tasks are split at different points in time (`churn` from 2015-10-03,
|
| 37 |
+
`purchase` from 2015-12-29, `rating` from 2015-12-30). The dataset-level
|
| 38 |
+
`val_timestamp`/`test_timestamp` take the earliest of each, so trimming the database at a
|
| 39 |
+
cutoff is conservative for every task rather than exact for one.
|
| 40 |
|
| 41 |
## Loading
|
| 42 |
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc2933612361bcaf9d6309fc5a52d270408f0a1590d3e4aa9e1dd23584dfd134
|
| 3 |
+
size 7955070
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf1b894ef612e9b4ce4a0fbb7f32b394ba3487d401a9a7fb487ce0c100aa4276
|
| 3 |
+
size 205561342
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:061db08142c1123130e2880503df1faba3f2184432c526d6e7996cc61882ebf2
|
| 3 |
+
size 5497783668
|
|
@@ -1,20 +1,20 @@
|
|
| 1 |
name: dbinfer-amazon
|
| 2 |
manifest_version: 1
|
| 3 |
description: 'Amazon from the 4DBInfer benchmark: a large product-review dataset linking users, products and reviews, used for rating prediction and user purchase/churn prediction.'
|
| 4 |
-
val_timestamp: '
|
| 5 |
-
test_timestamp: '
|
| 6 |
tables:
|
| 7 |
Customer:
|
| 8 |
pkey: customer_id
|
| 9 |
time_col: null
|
| 10 |
fkeys: {}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
Review:
|
| 12 |
-
pkey:
|
| 13 |
time_col: review_time
|
| 14 |
fkeys:
|
| 15 |
customer_id: Customer
|
| 16 |
product_id: Product
|
| 17 |
-
Product:
|
| 18 |
-
pkey: product_id
|
| 19 |
-
time_col: null
|
| 20 |
-
fkeys: {}
|
|
|
|
| 1 |
name: dbinfer-amazon
|
| 2 |
manifest_version: 1
|
| 3 |
description: 'Amazon from the 4DBInfer benchmark: a large product-review dataset linking users, products and reviews, used for rating prediction and user purchase/churn prediction.'
|
| 4 |
+
val_timestamp: '2015-10-03 00:00:00'
|
| 5 |
+
test_timestamp: '2015-12-30 00:00:00'
|
| 6 |
tables:
|
| 7 |
Customer:
|
| 8 |
pkey: customer_id
|
| 9 |
time_col: null
|
| 10 |
fkeys: {}
|
| 11 |
+
Product:
|
| 12 |
+
pkey: product_id
|
| 13 |
+
time_col: null
|
| 14 |
+
fkeys: {}
|
| 15 |
Review:
|
| 16 |
+
pkey: null
|
| 17 |
time_col: review_time
|
| 18 |
fkeys:
|
| 19 |
customer_id: Customer
|
| 20 |
product_id: Product
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,10 +1,9 @@
|
|
| 1 |
name: churn
|
| 2 |
kind: external
|
| 3 |
task_type: binary_classification
|
| 4 |
-
description: Predict whether a
|
| 5 |
entity_table: Customer
|
| 6 |
-
entity_col:
|
| 7 |
target_col: churn
|
| 8 |
time_col: timestamp
|
| 9 |
-
timedelta: 1 days 00:00:00
|
| 10 |
manifest_version: 1
|
|
|
|
| 1 |
name: churn
|
| 2 |
kind: external
|
| 3 |
task_type: binary_classification
|
| 4 |
+
description: Predict whether a customer churns (stops reviewing/purchasing).
|
| 5 |
entity_table: Customer
|
| 6 |
+
entity_col: customer_id
|
| 7 |
target_col: churn
|
| 8 |
time_col: timestamp
|
|
|
|
| 9 |
manifest_version: 1
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 914941
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f7f4869d7c61553ad7742b631fa132242339b8aa82b5013a939b010b2d03d90
|
| 3 |
size 914941
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e286e9b25e89043ea5ec152a0a978b92343affe4823962159d053051382f2c3e
|
| 3 |
+
size 2813478
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 901837
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7313a16ee2650746763104dc7ecc54f8be06ad50c57cccb2a8bde1b46ebe00a
|
| 3 |
size 901837
|
|
@@ -1,10 +1,13 @@
|
|
| 1 |
name: purchase
|
| 2 |
kind: external
|
| 3 |
-
task_type:
|
| 4 |
-
description:
|
| 5 |
-
entity_table: Review
|
| 6 |
-
entity_col: customer_id
|
| 7 |
-
target_col: product_id
|
| 8 |
time_col: prediction_timestamp
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
manifest_version: 1
|
|
|
|
| 1 |
name: purchase
|
| 2 |
kind: external
|
| 3 |
+
task_type: link_prediction
|
| 4 |
+
description: 'Rank products a customer will purchase. 4DBInfer''s MRR retrieval protocol: `train` holds positives only; `val`/`test` enumerate candidates with `label` and `query_idx`. Score with MRR over those candidates -- RelBench''s default link metric (MAP) is a different protocol.'
|
|
|
|
|
|
|
|
|
|
| 5 |
time_col: prediction_timestamp
|
| 6 |
+
src_entity_table: Customer
|
| 7 |
+
src_entity_col: customer_id
|
| 8 |
+
dst_entity_table: Product
|
| 9 |
+
dst_entity_col: product_id
|
| 10 |
+
remove_columns:
|
| 11 |
+
- - Review
|
| 12 |
+
- product_id
|
| 13 |
manifest_version: 1
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7a9af1315ec92890ae10024c8c4412c71d77958cd1973a4ea0e7aef2367c005
|
| 3 |
+
size 1421894
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e829f0516c4316eddd08872880ad1ca6444d799c0fbcc1887ba3738f6956668
|
| 3 |
+
size 708776
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c37af4304e645f79368b208dc2679ea2773215199960bc996a6083b4c860134f
|
| 3 |
+
size 771793
|
|
@@ -1,10 +1,12 @@
|
|
| 1 |
name: rating
|
| 2 |
kind: external
|
| 3 |
-
task_type:
|
| 4 |
-
description: Predict the star rating a
|
| 5 |
-
entity_table:
|
| 6 |
-
entity_col:
|
| 7 |
target_col: rating
|
| 8 |
time_col: review_time
|
| 9 |
-
|
|
|
|
|
|
|
| 10 |
manifest_version: 1
|
|
|
|
| 1 |
name: rating
|
| 2 |
kind: external
|
| 3 |
+
task_type: regression
|
| 4 |
+
description: Predict the star rating a customer gives a product (`product_id` names the product; 4DBInfer scores this as regression/RMSE).
|
| 5 |
+
entity_table: Customer
|
| 6 |
+
entity_col: customer_id
|
| 7 |
target_col: rating
|
| 8 |
time_col: review_time
|
| 9 |
+
remove_columns:
|
| 10 |
+
- - Review
|
| 11 |
+
- rating
|
| 12 |
manifest_version: 1
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ced8f84cf4a72c859be9c19c36334525f3284e5727397cb26a4e02699017fdd0
|
| 3 |
+
size 144640
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0fe5df269383904de2659124fe76c1c5f9fda54ff18f1be6c08e4f42a747d9d4
|
| 3 |
+
size 738597
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa6347cf68fa17b405c6fe306c8623bb71a908c6d9344fc6b564e6d4f14bcd50
|
| 3 |
+
size 84956
|
|
@@ -10,7 +10,17 @@ Acquire Valued Shoppers (AVS) from the 4DBInfer benchmark: a retail dataset of c
|
|
| 10 |
|
| 11 |
| task | kind | type | description |
|
| 12 |
|---|---|---|---|
|
| 13 |
-
| `repeater` | external | binary_classification | Predict whether a shopper becomes a repeat buyer of an offer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Loading
|
| 16 |
|
|
|
|
| 10 |
|
| 11 |
| task | kind | type | description |
|
| 12 |
|---|---|---|---|
|
| 13 |
+
| `repeater` | external | binary_classification | Predict whether a shopper becomes a repeat buyer of an offer (`offer`, `chain`, `market`, `offerdate` describe the offer instance). Source labels `'t'`/`'f'` are encoded 1/0. |
|
| 14 |
+
|
| 15 |
+
## Port notes
|
| 16 |
+
|
| 17 |
+
Built from the original 4DBInfer archive (`https://data.dgl.ai/mtbench/20240304-avs.tar`), keeping exactly the columns its `metadata.yaml` declares. Primary keys are reindexed to `0..n-1` and every foreign key -- in the database and in the task labels -- is remapped through the same mapping.
|
| 18 |
+
|
| 19 |
+
4DBInfer links some foreign keys to key domains that have no payload table of their own; those are materialized here as single-column key tables: `Brand`, `Category`, `Chain`, `Company`, `Customer`.
|
| 20 |
+
|
| 21 |
+
Undeclared payload columns dropped:
|
| 22 |
+
|
| 23 |
+
* `History`: `repeattrips`, `repeater`
|
| 24 |
|
| 25 |
## Loading
|
| 26 |
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b3996482f14935b37ed78ac4534cd39d5a8ed8cc4bf71d13f10ea465b620acf
|
| 3 |
+
size 213076
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4a283dfb5d829b18e6f2c533629438e85c258963068cbab5dabe00c4bfd8bdf
|
| 3 |
+
size 5581
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e30458708d44b960b4b236847c71378038960ce03e99d2737184a2d75c8076b
|
| 3 |
+
size 1860
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f05c4d6ec1068976656ae37a8e51f78f3ffacb205df42abebbdb72c0886951f
|
| 3 |
+
size 195564
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:827cd003d8b36e2b0fa617d76bcef1a7be4925562b81f591736800969d3f90a4
|
| 3 |
+
size 1519961
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6af897bd74c66cdb0818ac32fb1437401f0d5b7c735862daf4fb2130bf39365
|
| 3 |
+
size 1302748
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ed6b3bb3cd44e19ce7af3e52c924c755f7b3eda3e3cbf28fef5c5cbe31cab87
|
| 3 |
+
size 4598
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adbfa91855cf766d52667f3726ada3888d5b489c55e21383c182b8e5729d8b94
|
| 3 |
+
size 3284971241
|
|
@@ -1,19 +1,49 @@
|
|
| 1 |
name: dbinfer-avs
|
| 2 |
manifest_version: 1
|
| 3 |
description: 'Acquire Valued Shoppers (AVS) from the 4DBInfer benchmark: a retail dataset of customer transaction histories and promotional offers, used to predict shopper behavior such as offer repeat purchases.'
|
| 4 |
-
val_timestamp: '2013-
|
| 5 |
-
test_timestamp: '2013-
|
| 6 |
tables:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
History:
|
| 8 |
-
pkey:
|
| 9 |
time_col: offerdate
|
| 10 |
fkeys:
|
|
|
|
|
|
|
| 11 |
offer: Offer
|
| 12 |
Transaction:
|
| 13 |
-
pkey:
|
| 14 |
time_col: date
|
| 15 |
-
fkeys:
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
| 1 |
name: dbinfer-avs
|
| 2 |
manifest_version: 1
|
| 3 |
description: 'Acquire Valued Shoppers (AVS) from the 4DBInfer benchmark: a retail dataset of customer transaction histories and promotional offers, used to predict shopper behavior such as offer repeat purchases.'
|
| 4 |
+
val_timestamp: '2013-04-24 00:00:00'
|
| 5 |
+
test_timestamp: '2013-04-30 00:00:00'
|
| 6 |
tables:
|
| 7 |
+
Offer:
|
| 8 |
+
pkey: offer
|
| 9 |
+
time_col: null
|
| 10 |
+
fkeys:
|
| 11 |
+
brand: Brand
|
| 12 |
+
category: Category
|
| 13 |
+
company: Company
|
| 14 |
+
Brand:
|
| 15 |
+
pkey: id
|
| 16 |
+
time_col: null
|
| 17 |
+
fkeys: {}
|
| 18 |
+
Category:
|
| 19 |
+
pkey: id
|
| 20 |
+
time_col: null
|
| 21 |
+
fkeys: {}
|
| 22 |
+
Chain:
|
| 23 |
+
pkey: id
|
| 24 |
+
time_col: null
|
| 25 |
+
fkeys: {}
|
| 26 |
+
Company:
|
| 27 |
+
pkey: id
|
| 28 |
+
time_col: null
|
| 29 |
+
fkeys: {}
|
| 30 |
+
Customer:
|
| 31 |
+
pkey: id
|
| 32 |
+
time_col: null
|
| 33 |
+
fkeys: {}
|
| 34 |
History:
|
| 35 |
+
pkey: null
|
| 36 |
time_col: offerdate
|
| 37 |
fkeys:
|
| 38 |
+
chain: Chain
|
| 39 |
+
id: Customer
|
| 40 |
offer: Offer
|
| 41 |
Transaction:
|
| 42 |
+
pkey: null
|
| 43 |
time_col: date
|
| 44 |
+
fkeys:
|
| 45 |
+
brand: Brand
|
| 46 |
+
category: Category
|
| 47 |
+
chain: Chain
|
| 48 |
+
company: Company
|
| 49 |
+
id: Customer
|
|
|
|
|
|
@@ -1,10 +1,9 @@
|
|
| 1 |
name: repeater
|
| 2 |
kind: external
|
| 3 |
task_type: binary_classification
|
| 4 |
-
description: Predict whether a shopper becomes a repeat buyer of an offer.
|
| 5 |
-
entity_table:
|
| 6 |
entity_col: id
|
| 7 |
target_col: repeater
|
| 8 |
time_col: timestamp
|
| 9 |
-
timedelta: 1 days 00:00:00
|
| 10 |
manifest_version: 1
|
|
|
|
| 1 |
name: repeater
|
| 2 |
kind: external
|
| 3 |
task_type: binary_classification
|
| 4 |
+
description: Predict whether a shopper becomes a repeat buyer of an offer (`offer`, `chain`, `market`, `offerdate` describe the offer instance). Source labels `'t'`/`'f'` are encoded 1/0.
|
| 5 |
+
entity_table: Customer
|
| 6 |
entity_col: id
|
| 7 |
target_col: repeater
|
| 8 |
time_col: timestamp
|
|
|
|
| 9 |
manifest_version: 1
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:117a0916ac7ec0edd8bb1660c9e68d0ebc5f79f80ba57b6e41e075e061409738
|
| 3 |
+
size 227993
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5726602bece7b5a059fbda34d171c759c87967e7d26516228a8d9d9298df2f8
|
| 3 |
+
size 941649
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19216bf35cc6da40a6d681cc19121ad38f0ad6ecdcff90b81162256cedf7f66a
|
| 3 |
+
size 206200
|
|
@@ -10,8 +10,31 @@ Diginetica from the 4DBInfer benchmark: an e-commerce dataset of user browsing a
|
|
| 10 |
|
| 11 |
| task | kind | type | description |
|
| 12 |
|---|---|---|---|
|
| 13 |
-
| `ctr` | external | binary_classification | Predict whether a displayed item is clicked (click-through rate). |
|
| 14 |
-
| `purchase` | external |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
## Loading
|
| 17 |
|
|
|
|
| 10 |
|
| 11 |
| task | kind | type | description |
|
| 12 |
|---|---|---|---|
|
| 13 |
+
| `ctr` | external | binary_classification | Predict whether a displayed item is clicked (click-through rate); `itemId` names the displayed item. |
|
| 14 |
+
| `purchase` | external | link_prediction | Rank items a session will purchase. 4DBInfer's MRR retrieval protocol: `train` holds positives only; `val`/`test` enumerate candidates with `label` and `query_idx`. Score with MRR over those candidates -- RelBench's default link metric (MAP) is a different protocol. |
|
| 15 |
+
|
| 16 |
+
## Port notes
|
| 17 |
+
|
| 18 |
+
Built from the original 4DBInfer archive (`https://data.dgl.ai/mtbench/20240304-diginetica.tar`), keeping exactly the columns its `metadata.yaml` declares. Primary keys are reindexed to `0..n-1` and every foreign key -- in the database and in the task labels -- is remapped through the same mapping.
|
| 19 |
+
|
| 20 |
+
4DBInfer links some foreign keys to key domains that have no payload table of their own; those are materialized here as single-column key tables: `Orders`, `Session`, `Token`, `User`.
|
| 21 |
+
|
| 22 |
+
### Label columns in the database
|
| 23 |
+
|
| 24 |
+
4DBInfer derives some labels from a column that is itself part of the database, so a model reading that row can read its own label:
|
| 25 |
+
|
| 26 |
+
* `purchase` -> `Purchase.itemId`
|
| 27 |
+
|
| 28 |
+
Each such task declares `remove_columns`, and the column is left in `db/` so the database stays faithful to the source. Note that RelBench's loader currently applies `remove_columns` only to `kind: autocomplete` tasks (`Dataset.get_db` calls `get_modified_db` only when `target_col` is set), so for these `external` tasks **drop the column yourself** before training. Because `get_db(upto_test_timestamp=True)` trims the database at `test_timestamp`, test labels are outside the visible database either way -- the exposure is on the train and val rows.
|
| 29 |
+
|
| 30 |
+
### Known upstream defects
|
| 31 |
+
|
| 32 |
+
Two source-side quirks, both faithful to the archive:
|
| 33 |
+
|
| 34 |
+
* `QuerySearchstringToken.queryId` -> `Query`: 43,759 of 138,260 values (31.65%) name a
|
| 35 |
+
query that is not in `Query`, so they are null here.
|
| 36 |
+
* `Query.userId`, `View.userId`, `Purchase.userId` are 64%/70%/63% null in the source --
|
| 37 |
+
Diginetica sessions are mostly anonymous. That is the data, not a porting loss.
|
| 38 |
|
| 39 |
## Loading
|
| 40 |
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0191c4fece9a1a040b7530868f26ec0eec8405d6b8ea4bb8a1f8d7d82f9d2a2e
|
| 3 |
+
size 16083479
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba01053b724416779a46c2220ae11bf0f7f305a6a319f8ea8e1786221a9c1149
|
| 3 |
+
size 78926
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1105589
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfe3b14863402fac527f4693eb6c38026600fdbb7d523b9e435c8768d744e3ad
|
| 3 |
size 1105589
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c34352cc65f3afef6a2291675f3891c6b3cc6ad31917ca244eec8976313ba871
|
| 3 |
+
size 4635441
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba861387673acfcc8d5121277403ddceb1471df7009122c3145e407278b50a65
|
| 3 |
+
size 428150
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:989eeec9ed1e8554a37d5825e7c99ad4ff73c0568bffceaa1ecca9c93c9e2778
|
| 3 |
+
size 13294414
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0142e7f1f6e07ba4d973c0ea350d19682f23f9e94268afe15cb0d2251f4fec7
|
| 3 |
+
size 228555939
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5b6677e00b35b4ce5104f4fd2d407b2de2974546e07c096beedc83fa5e53459
|
| 3 |
+
size 664675
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f97e071a5650ee16486c44c818d69f1158c34d3f76a98ca18d2481d114f170a
|
| 3 |
+
size 1757616
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b216550200e27ed51000a84701de5650d1e1fde67dc621dca38530e266f9ba4b
|
| 3 |
+
size 994344
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:014c18f8b0109ddd34294b1066a6bc23c747532f81288d3febbc50a0f87c1acf
|
| 3 |
+
size 837770
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6548ece42a50a7bcd708a103e3c07a98254235b59d532f7505d1b9ea72221d5
|
| 3 |
+
size 17283867
|
|
@@ -1,46 +1,71 @@
|
|
| 1 |
name: dbinfer-diginetica
|
| 2 |
manifest_version: 1
|
| 3 |
description: 'Diginetica from the 4DBInfer benchmark: an e-commerce dataset of user browsing and purchasing sessions over a product catalog (CIKM Cup 2016), used for click-through-rate and purchase prediction.'
|
| 4 |
-
val_timestamp: '2016-
|
| 5 |
-
test_timestamp: '2016-
|
| 6 |
tables:
|
| 7 |
-
|
| 8 |
-
pkey:
|
| 9 |
-
time_col:
|
| 10 |
-
fkeys:
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
Purchase:
|
| 14 |
-
pkey: __synthetic_pk__
|
| 15 |
time_col: timestamp
|
| 16 |
fkeys:
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
time_col: null
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
fkeys:
|
| 22 |
queryId: Query
|
|
|
|
| 23 |
QueryResult:
|
| 24 |
-
pkey:
|
| 25 |
time_col: timestamp
|
| 26 |
fkeys:
|
| 27 |
queryId: Query
|
| 28 |
itemId: Product
|
| 29 |
View:
|
| 30 |
-
pkey:
|
| 31 |
time_col: timestamp
|
| 32 |
fkeys:
|
|
|
|
|
|
|
| 33 |
itemId: Product
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
ProductNameToken:
|
| 35 |
-
pkey:
|
| 36 |
time_col: null
|
| 37 |
fkeys:
|
| 38 |
itemId: Product
|
| 39 |
-
|
| 40 |
-
|
|
|
|
| 41 |
time_col: null
|
| 42 |
-
fkeys:
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
time_col: timestamp
|
| 46 |
-
fkeys: {}
|
|
|
|
| 1 |
name: dbinfer-diginetica
|
| 2 |
manifest_version: 1
|
| 3 |
description: 'Diginetica from the 4DBInfer benchmark: an e-commerce dataset of user browsing and purchasing sessions over a product catalog (CIKM Cup 2016), used for click-through-rate and purchase prediction.'
|
| 4 |
+
val_timestamp: '2016-05-26 00:00:00'
|
| 5 |
+
test_timestamp: '2016-05-31 00:00:00'
|
| 6 |
tables:
|
| 7 |
+
Product:
|
| 8 |
+
pkey: itemId
|
| 9 |
+
time_col: null
|
| 10 |
+
fkeys: {}
|
| 11 |
+
Query:
|
| 12 |
+
pkey: queryId
|
|
|
|
|
|
|
| 13 |
time_col: timestamp
|
| 14 |
fkeys:
|
| 15 |
+
sessionId: Session
|
| 16 |
+
userId: User
|
| 17 |
+
Orders:
|
| 18 |
+
pkey: id
|
| 19 |
+
time_col: null
|
| 20 |
+
fkeys: {}
|
| 21 |
+
Session:
|
| 22 |
+
pkey: id
|
| 23 |
+
time_col: null
|
| 24 |
+
fkeys: {}
|
| 25 |
+
Token:
|
| 26 |
+
pkey: id
|
| 27 |
+
time_col: null
|
| 28 |
+
fkeys: {}
|
| 29 |
+
User:
|
| 30 |
+
pkey: id
|
| 31 |
time_col: null
|
| 32 |
+
fkeys: {}
|
| 33 |
+
Click:
|
| 34 |
+
pkey: null
|
| 35 |
+
time_col: timestamp
|
| 36 |
fkeys:
|
| 37 |
queryId: Query
|
| 38 |
+
itemId: Product
|
| 39 |
QueryResult:
|
| 40 |
+
pkey: null
|
| 41 |
time_col: timestamp
|
| 42 |
fkeys:
|
| 43 |
queryId: Query
|
| 44 |
itemId: Product
|
| 45 |
View:
|
| 46 |
+
pkey: null
|
| 47 |
time_col: timestamp
|
| 48 |
fkeys:
|
| 49 |
+
sessionId: Session
|
| 50 |
+
userId: User
|
| 51 |
itemId: Product
|
| 52 |
+
Purchase:
|
| 53 |
+
pkey: null
|
| 54 |
+
time_col: timestamp
|
| 55 |
+
fkeys:
|
| 56 |
+
sessionId: Session
|
| 57 |
+
userId: User
|
| 58 |
+
itemId: Product
|
| 59 |
+
ordernumber: Orders
|
| 60 |
ProductNameToken:
|
| 61 |
+
pkey: null
|
| 62 |
time_col: null
|
| 63 |
fkeys:
|
| 64 |
itemId: Product
|
| 65 |
+
token: Token
|
| 66 |
+
QuerySearchstringToken:
|
| 67 |
+
pkey: null
|
| 68 |
time_col: null
|
| 69 |
+
fkeys:
|
| 70 |
+
queryId: Query
|
| 71 |
+
token: Token
|
|
|
|
|
|