Add files using upload-large-folder tool
Browse files- legacy/_transformed/rel-amazon/README.md +41 -0
- legacy/_transformed/rel-amazon/schema.svg +97 -0
- legacy/_transformed/rel-avito/README.md +39 -0
- legacy/_transformed/rel-avito/manifest.yaml +49 -0
- legacy/_transformed/rel-avito/tasks/searchinfo-isuserloggedon/manifest.yaml +7 -0
- legacy/_transformed/rel-avito/tasks/searchstream-click/manifest.yaml +7 -0
- legacy/_transformed/rel-avito/tasks/user-ad-visit/manifest.yaml +13 -0
- legacy/_transformed/rel-avito/tasks/user-clicks/manifest.yaml +11 -0
- legacy/_transformed/rel-avito/tasks/user-visits/manifest.yaml +11 -0
- legacy/_transformed/rel-event/README.md +39 -0
- legacy/_transformed/rel-event/manifest.yaml +33 -0
- legacy/_transformed/rel-event/tasks/user-repeat/manifest.yaml +11 -0
- legacy/_transformed/rel-f1/README.md +39 -0
- legacy/_transformed/rel-f1/manifest.yaml +55 -0
- legacy/_transformed/rel-hm/README.md +37 -0
- legacy/_transformed/rel-hm/schema.svg +185 -0
- legacy/_transformed/rel-hm/tasks/item-sales/manifest.yaml +11 -0
- legacy/_transformed/rel-hm/tasks/transactions-price/manifest.yaml +7 -0
- legacy/_transformed/rel-hm/tasks/user-churn/manifest.yaml +11 -0
- legacy/_transformed/rel-hm/tasks/user-item-purchase/manifest.yaml +14 -0
- legacy/_transformed/rel-stack/manifest.yaml +45 -0
- legacy/_transformed/rel-stack/schema.svg +305 -0
- legacy/_transformed/rel-trial/README.md +42 -0
- legacy/_transformed/rel-trial/manifest.yaml +81 -0
- legacy/_transformed/rel-trial/tasks/condition-sponsor-run/manifest.yaml +24 -0
- legacy/_transformed/rel-trial/tasks/eligibilities-adult/manifest.yaml +22 -0
- legacy/_transformed/rel-trial/tasks/eligibilities-child/manifest.yaml +22 -0
- legacy/_transformed/rel-trial/tasks/site-sponsor-run/manifest.yaml +24 -0
- legacy/_transformed/rel-trial/tasks/site-success/manifest.yaml +37 -0
- legacy/_transformed/rel-trial/tasks/studies-enrollment/manifest.yaml +7 -0
- legacy/_transformed/rel-trial/tasks/studies-has_dmc/manifest.yaml +7 -0
- legacy/_transformed/rel-trial/tasks/study-adverse/manifest.yaml +36 -0
- legacy/_transformed/rel-trial/tasks/study-outcome/manifest.yaml +42 -0
- legacy/rel-amazon/meta.json +19 -1
- legacy/rel-amazon/table_info.json +1 -1
- legacy/rel-avito/column_index.json +1 -1
- legacy/rel-avito/meta.json +8 -2
- legacy/rel-event/meta.json +20 -2
- legacy/rel-event/table_info.json +1 -1
- legacy/rel-f1/column_index.json +1 -1
- legacy/rel-hm/meta.json +6 -2
- legacy/rel-hm/table_info.json +1 -1
- legacy/rel-stack/column_index.json +1 -1
- legacy/rel-stack/meta.json +7 -2
- legacy/rel-trial/meta.json +71 -2
- legacy/rel-trial/table_info.json +1 -1
legacy/_transformed/rel-amazon/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# rel-amazon
|
| 2 |
+
|
| 3 |
+
Amazon product reviews: customers, products, and time-stamped reviews and ratings across the Amazon catalog.
|
| 4 |
+
|
| 5 |
+
## Schema
|
| 6 |
+
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+
## Tasks
|
| 10 |
+
|
| 11 |
+
| task | kind | type | description |
|
| 12 |
+
|---|---|---|---|
|
| 13 |
+
| `item-churn` | forecast | binary_classification | Churn for a product is 1 if the product recieves at least one review in the time window, else 0. |
|
| 14 |
+
| `item-ltv` | forecast | regression | LTV (life-time value) for a product is the numer of times the product is purchased in the time window multiplied by price. |
|
| 15 |
+
| `review-rating` | autocomplete | regression | Predict the `rating` column of the `review` table. |
|
| 16 |
+
| `user-churn` | forecast | binary_classification | Churn for a customer is 1 if the customer does not review any product in the time window, else 0. |
|
| 17 |
+
| `user-item-purchase` | forecast | link_prediction | Predict the list of distinct items each customer will purchase in the next two years. |
|
| 18 |
+
| `user-item-rate` | forecast | link_prediction | Predict the list of distinct items each customer will purchase and give a 5 star review in the next two years. |
|
| 19 |
+
| `user-item-review` | forecast | link_prediction | Predict the list of distinct items each customer will purchase and give a detailed review in the next two years. |
|
| 20 |
+
| `user-ltv` | forecast | regression | LTV (life-time value) for a customer is the sum of prices of products that the customer reviews in the time window. |
|
| 21 |
+
|
| 22 |
+
## Loading
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
import relbench
|
| 26 |
+
ds = relbench.load_dataset("relbench/v1/rel-amazon")
|
| 27 |
+
task = relbench.load_task("relbench/v1/rel-amazon", "<task>")
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
## Citation
|
| 31 |
+
|
| 32 |
+
Please cite [RelBench](https://proceedings.neurips.cc/paper_files/paper/2024/hash/25cd345233c65fac1fec0ce61d0f7836-Abstract-Datasets_and_Benchmarks_Track.html):
|
| 33 |
+
|
| 34 |
+
```bibtex
|
| 35 |
+
@inproceedings{robinson2024relbench,
|
| 36 |
+
title = {{RelBench}: A Benchmark for Deep Learning on Relational Databases},
|
| 37 |
+
author = {Robinson, Joshua and Ranjan, Rishabh and Hu, Weihua and Huang, Kexin and Han, Jiaqi and Dobles, Alejandro and Fey, Matthias and Lenssen, Jan E. and Yuan, Yiwen and Zhang, Zecheng and He, Xinwei and Leskovec, Jure},
|
| 38 |
+
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
|
| 39 |
+
year = {2024}
|
| 40 |
+
}
|
| 41 |
+
```
|
legacy/_transformed/rel-amazon/schema.svg
ADDED
|
|
legacy/_transformed/rel-avito/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# rel-avito
|
| 2 |
+
|
| 3 |
+
Avito online classifieds: users, ads, search queries, and impression / click / visit streams.
|
| 4 |
+
|
| 5 |
+
## Schema
|
| 6 |
+
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+
## Tasks
|
| 10 |
+
|
| 11 |
+
| task | kind | type | description |
|
| 12 |
+
|---|---|---|---|
|
| 13 |
+
| `ad-ctr` | forecast | regression | Assuming the ad will be clicked in the next 4 days, predict the Click-Through- Rate (CTR) for each ad. |
|
| 14 |
+
| `searchinfo-isuserloggedon` | autocomplete | binary_classification | Predict the `IsUserLoggedOn` column of the `SearchInfo` table. |
|
| 15 |
+
| `searchstream-click` | autocomplete | binary_classification | Predict the `IsClick` column of the `SearchStream` table. |
|
| 16 |
+
| `user-ad-visit` | forecast | link_prediction | Predict the distinct list of ads a user will visit in the next 4 days. |
|
| 17 |
+
| `user-clicks` | forecast | binary_classification | Predict whether the each customer will click on more than one ads in the next 4 days. |
|
| 18 |
+
| `user-visits` | forecast | binary_classification | Predict whether each customer will visit more than one ad in the next 4 days. |
|
| 19 |
+
|
| 20 |
+
## Loading
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
import relbench
|
| 24 |
+
ds = relbench.load_dataset("relbench/v1/rel-avito")
|
| 25 |
+
task = relbench.load_task("relbench/v1/rel-avito", "<task>")
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Citation
|
| 29 |
+
|
| 30 |
+
Please cite [RelBench](https://proceedings.neurips.cc/paper_files/paper/2024/hash/25cd345233c65fac1fec0ce61d0f7836-Abstract-Datasets_and_Benchmarks_Track.html):
|
| 31 |
+
|
| 32 |
+
```bibtex
|
| 33 |
+
@inproceedings{robinson2024relbench,
|
| 34 |
+
title = {{RelBench}: A Benchmark for Deep Learning on Relational Databases},
|
| 35 |
+
author = {Robinson, Joshua and Ranjan, Rishabh and Hu, Weihua and Huang, Kexin and Han, Jiaqi and Dobles, Alejandro and Fey, Matthias and Lenssen, Jan E. and Yuan, Yiwen and Zhang, Zecheng and He, Xinwei and Leskovec, Jure},
|
| 36 |
+
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
|
| 37 |
+
year = {2024}
|
| 38 |
+
}
|
| 39 |
+
```
|
legacy/_transformed/rel-avito/manifest.yaml
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: rel-avito
|
| 2 |
+
manifest_version: 1
|
| 3 |
+
description: 'Avito online classifieds: users, ads, search queries, and impression / click / visit streams.'
|
| 4 |
+
val_timestamp: '2015-05-08'
|
| 5 |
+
test_timestamp: '2015-05-14'
|
| 6 |
+
tables:
|
| 7 |
+
VisitStream:
|
| 8 |
+
pkey: null
|
| 9 |
+
time_col: ViewDate
|
| 10 |
+
fkeys:
|
| 11 |
+
UserID: UserInfo
|
| 12 |
+
AdID: AdsInfo
|
| 13 |
+
AdsInfo:
|
| 14 |
+
pkey: AdID
|
| 15 |
+
time_col: null
|
| 16 |
+
fkeys:
|
| 17 |
+
LocationID: Location
|
| 18 |
+
CategoryID: Category
|
| 19 |
+
SearchStream:
|
| 20 |
+
pkey: null
|
| 21 |
+
time_col: SearchDate
|
| 22 |
+
fkeys:
|
| 23 |
+
SearchID: SearchInfo
|
| 24 |
+
AdID: AdsInfo
|
| 25 |
+
SearchInfo:
|
| 26 |
+
pkey: SearchID
|
| 27 |
+
time_col: SearchDate
|
| 28 |
+
fkeys:
|
| 29 |
+
UserID: UserInfo
|
| 30 |
+
LocationID: Location
|
| 31 |
+
CategoryID: Category
|
| 32 |
+
Category:
|
| 33 |
+
pkey: CategoryID
|
| 34 |
+
time_col: null
|
| 35 |
+
fkeys: {}
|
| 36 |
+
PhoneRequestsStream:
|
| 37 |
+
pkey: null
|
| 38 |
+
time_col: PhoneRequestDate
|
| 39 |
+
fkeys:
|
| 40 |
+
UserID: UserInfo
|
| 41 |
+
AdID: AdsInfo
|
| 42 |
+
UserInfo:
|
| 43 |
+
pkey: UserID
|
| 44 |
+
time_col: null
|
| 45 |
+
fkeys: {}
|
| 46 |
+
Location:
|
| 47 |
+
pkey: LocationID
|
| 48 |
+
time_col: null
|
| 49 |
+
fkeys: {}
|
legacy/_transformed/rel-avito/tasks/searchinfo-isuserloggedon/manifest.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: searchinfo-isuserloggedon
|
| 2 |
+
kind: autocomplete
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict the `IsUserLoggedOn` column of the `SearchInfo` table.
|
| 5 |
+
entity_table: SearchInfo
|
| 6 |
+
target_col: IsUserLoggedOn
|
| 7 |
+
manifest_version: 1
|
legacy/_transformed/rel-avito/tasks/searchstream-click/manifest.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: searchstream-click
|
| 2 |
+
kind: autocomplete
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict the `IsClick` column of the `SearchStream` table.
|
| 5 |
+
entity_table: SearchStream
|
| 6 |
+
target_col: IsClick
|
| 7 |
+
manifest_version: 1
|
legacy/_transformed/rel-avito/tasks/user-ad-visit/manifest.yaml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: user-ad-visit
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: link_prediction
|
| 4 |
+
description: Predict the distinct list of ads a user will visit in the next 4 days.
|
| 5 |
+
time_col: timestamp
|
| 6 |
+
src_entity_table: UserInfo
|
| 7 |
+
src_entity_col: UserID
|
| 8 |
+
dst_entity_table: AdsInfo
|
| 9 |
+
dst_entity_col: AdID
|
| 10 |
+
eval_k: 12
|
| 11 |
+
timedelta: 4 days
|
| 12 |
+
sql: "\n SELECT\n visit_ads.UserID,\n t.timestamp,\n LIST(DISTINCT visit_ads.AdID) AS AdID,\n FROM\n timestamps t\n LEFT JOIN\n (\n UserInfo\n LEFT JOIN\n VisitStream\n ON\n UserInfo.UserID == VisitStream.UserID\n ) visit_ads\n ON\n visit_ads.ViewDate > t.timestamp AND\n visit_ads.ViewDate <= t.timestamp + INTERVAL '{timedelta}'\n GROUP BY\n t.timestamp,\n visit_ads.UserID\n "
|
| 13 |
+
manifest_version: 1
|
legacy/_transformed/rel-avito/tasks/user-clicks/manifest.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: user-clicks
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict whether the each customer will click on more than one ads in the next 4 days.
|
| 5 |
+
entity_table: UserInfo
|
| 6 |
+
entity_col: UserID
|
| 7 |
+
target_col: num_click
|
| 8 |
+
time_col: timestamp
|
| 9 |
+
timedelta: 4 days
|
| 10 |
+
sql: "\n SELECT\n search_ads.UserID,\n t.timestamp,\n COALESCE(COUNT(search_ads.AdID), 0) > 1 AS num_click\n FROM\n timestamps t\n LEFT JOIN\n (\n (\n UserInfo\n LEFT JOIN\n SearchInfo\n ON\n UserInfo.UserID == SearchInfo.UserID\n ) user_search_info\n LEFT JOIN\n SearchStream\n ON\n user_search_info.SearchID == SearchStream.SearchID AND\n SearchStream.IsClick == 1.0\n ) search_ads\n ON\n search_ads.SearchDate > t.timestamp AND\n search_ads.SearchDate <= t.timestamp + INTERVAL '{timedelta}'\n GROUP BY\n t.timestamp,\n search_ads.UserID\n "
|
| 11 |
+
manifest_version: 1
|
legacy/_transformed/rel-avito/tasks/user-visits/manifest.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: user-visits
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict whether each customer will visit more than one ad in the next 4 days.
|
| 5 |
+
entity_table: UserInfo
|
| 6 |
+
entity_col: UserID
|
| 7 |
+
target_col: num_click
|
| 8 |
+
time_col: timestamp
|
| 9 |
+
timedelta: 4 days
|
| 10 |
+
sql: "\n SELECT\n visit_ads.UserID,\n t.timestamp,\n COALESCE(COUNT(DISTINCT visit_ads.AdID), 0) > 1 AS num_click\n FROM\n timestamps t\n LEFT JOIN\n (\n UserInfo\n LEFT JOIN\n VisitStream\n ON\n UserInfo.UserID == VisitStream.UserID\n ) visit_ads\n ON\n visit_ads.ViewDate > t.timestamp AND\n visit_ads.ViewDate <= t.timestamp + INTERVAL '{timedelta}'\n GROUP BY\n t.timestamp,\n visit_ads.UserID\n "
|
| 11 |
+
manifest_version: 1
|
legacy/_transformed/rel-event/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# rel-event
|
| 2 |
+
|
| 3 |
+
Event recommendation: users, events, attendance records, and social and interest signals.
|
| 4 |
+
|
| 5 |
+
## Schema
|
| 6 |
+
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+
## Tasks
|
| 10 |
+
|
| 11 |
+
| task | kind | type | description |
|
| 12 |
+
|---|---|---|---|
|
| 13 |
+
| `event_interest-interested` | autocomplete | binary_classification | Predict the `interested` column of the `event_interest` table. |
|
| 14 |
+
| `event_interest-not_interested` | autocomplete | binary_classification | Predict the `not_interested` column of the `event_interest` table. |
|
| 15 |
+
| `user-attendance` | forecast | regression | Predict the number of events a user will go to in the next seven days 7 days. |
|
| 16 |
+
| `user-ignore` | forecast | binary_classification | Predict whether a user will ignore more than 2 event invitations in the next 7 days. |
|
| 17 |
+
| `user-repeat` | external | binary_classification | Predict whether a user will attend an event in the next 7 days if they have already attended an event in the last 14 days. |
|
| 18 |
+
| `users-birthyear` | autocomplete | regression | Predict the `birthyear` column of the `users` table. |
|
| 19 |
+
|
| 20 |
+
## Loading
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
import relbench
|
| 24 |
+
ds = relbench.load_dataset("relbench/v1/rel-event")
|
| 25 |
+
task = relbench.load_task("relbench/v1/rel-event", "<task>")
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Citation
|
| 29 |
+
|
| 30 |
+
Please cite [RelBench](https://proceedings.neurips.cc/paper_files/paper/2024/hash/25cd345233c65fac1fec0ce61d0f7836-Abstract-Datasets_and_Benchmarks_Track.html):
|
| 31 |
+
|
| 32 |
+
```bibtex
|
| 33 |
+
@inproceedings{robinson2024relbench,
|
| 34 |
+
title = {{RelBench}: A Benchmark for Deep Learning on Relational Databases},
|
| 35 |
+
author = {Robinson, Joshua and Ranjan, Rishabh and Hu, Weihua and Huang, Kexin and Han, Jiaqi and Dobles, Alejandro and Fey, Matthias and Lenssen, Jan E. and Yuan, Yiwen and Zhang, Zecheng and He, Xinwei and Leskovec, Jure},
|
| 36 |
+
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
|
| 37 |
+
year = {2024}
|
| 38 |
+
}
|
| 39 |
+
```
|
legacy/_transformed/rel-event/manifest.yaml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: rel-event
|
| 2 |
+
manifest_version: 1
|
| 3 |
+
description: 'Event recommendation: users, events, attendance records, and social and interest signals.'
|
| 4 |
+
val_timestamp: '2012-11-21'
|
| 5 |
+
test_timestamp: '2012-11-29'
|
| 6 |
+
tables:
|
| 7 |
+
user_friends:
|
| 8 |
+
pkey: null
|
| 9 |
+
time_col: null
|
| 10 |
+
fkeys:
|
| 11 |
+
user: users
|
| 12 |
+
friend: users
|
| 13 |
+
event_interest:
|
| 14 |
+
pkey: null
|
| 15 |
+
time_col: timestamp
|
| 16 |
+
fkeys:
|
| 17 |
+
event: events
|
| 18 |
+
user: users
|
| 19 |
+
event_attendees:
|
| 20 |
+
pkey: null
|
| 21 |
+
time_col: start_time
|
| 22 |
+
fkeys:
|
| 23 |
+
event: events
|
| 24 |
+
user_id: users
|
| 25 |
+
users:
|
| 26 |
+
pkey: user_id
|
| 27 |
+
time_col: joinedAt
|
| 28 |
+
fkeys: {}
|
| 29 |
+
events:
|
| 30 |
+
pkey: event_id
|
| 31 |
+
time_col: start_time
|
| 32 |
+
fkeys:
|
| 33 |
+
user_id: users
|
legacy/_transformed/rel-event/tasks/user-repeat/manifest.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: user-repeat
|
| 2 |
+
kind: external
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict whether a user will attend an event in the next 7 days if they have already attended an event in the last 14 days.
|
| 5 |
+
entity_table: users
|
| 6 |
+
entity_col: user
|
| 7 |
+
target_col: target
|
| 8 |
+
time_col: timestamp
|
| 9 |
+
timedelta: 7 days
|
| 10 |
+
sql: "\n WITH all_timestamps AS (\n SELECT (SELECT MIN(timestamp) FROM timestamps) - INTERVAL '{timedelta}' * 2 AS timestamp\n UNION ALL\n SELECT (SELECT MIN(timestamp) FROM timestamps) - INTERVAL '{timedelta}' AS timestamp\n UNION ALL\n SELECT timestamp FROM timestamps\n ),\n tb AS(\n SELECT\n t.timestamp AS timestamp,\n event_attendees.user_id AS user,\n MAX(CASE WHEN event_attendees.status IN ('yes', 'maybe') THEN 1 ELSE 0 END) AS target,\n MAX(MAX(CASE WHEN event_attendees.status IN ('yes', 'maybe') THEN 1 ELSE 0 END)) OVER (PARTITION BY event_attendees.user_id ORDER BY t.timestamp ROWS BETWEEN 2 PRECEDING AND 1 PRECEDING) as prev_target\n FROM\n all_timestamps t\n LEFT JOIN\n event_attendees\n ON\n event_attendees.start_time > t.timestamp AND\n event_attendees.start_time <= t.timestamp + INTERVAL '{timedelta}'\n GROUP BY\n t.timestamp,\n event_attendees.user_id\n )\n SELECT\n timestamp,\n CAST(user AS BIGINT) AS user,\n target\n FROM\n tb\n WHERE\n prev_target = 1\n AND user IS NOT NULL\n AND timestamp = (SELECT MAX(timestamp) FROM all_timestamps);\n "
|
| 11 |
+
manifest_version: 1
|
legacy/_transformed/rel-f1/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# rel-f1
|
| 2 |
+
|
| 3 |
+
Formula 1 motorsport database: races, drivers, constructors, circuits, race results, qualifying, and championship standings.
|
| 4 |
+
|
| 5 |
+
## Schema
|
| 6 |
+
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+
## Tasks
|
| 10 |
+
|
| 11 |
+
| task | kind | type | description |
|
| 12 |
+
|---|---|---|---|
|
| 13 |
+
| `driver-circuit-compete` | forecast | link_prediction | Predict on which circuits a driver will compete in the next 1 year. |
|
| 14 |
+
| `driver-dnf` | forecast | binary_classification | Predict the if each driver will DNF (not finish) a race in the next 1 month. |
|
| 15 |
+
| `driver-position` | forecast | regression | Predict the average finishing position of each driver all races in the next 2 months. |
|
| 16 |
+
| `driver-top3` | forecast | binary_classification | Predict if each driver will qualify in the top-3 for a race within the next 1 month. |
|
| 17 |
+
| `qualifying-position` | autocomplete | regression | Predict the `position` column of the `qualifying` table. |
|
| 18 |
+
| `results-position` | autocomplete | regression | Predict the `position` column of the `results` table. |
|
| 19 |
+
|
| 20 |
+
## Loading
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
import relbench
|
| 24 |
+
ds = relbench.load_dataset("relbench/v1/rel-f1")
|
| 25 |
+
task = relbench.load_task("relbench/v1/rel-f1", "<task>")
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Citation
|
| 29 |
+
|
| 30 |
+
Please cite [RelBench](https://proceedings.neurips.cc/paper_files/paper/2024/hash/25cd345233c65fac1fec0ce61d0f7836-Abstract-Datasets_and_Benchmarks_Track.html):
|
| 31 |
+
|
| 32 |
+
```bibtex
|
| 33 |
+
@inproceedings{robinson2024relbench,
|
| 34 |
+
title = {{RelBench}: A Benchmark for Deep Learning on Relational Databases},
|
| 35 |
+
author = {Robinson, Joshua and Ranjan, Rishabh and Hu, Weihua and Huang, Kexin and Han, Jiaqi and Dobles, Alejandro and Fey, Matthias and Lenssen, Jan E. and Yuan, Yiwen and Zhang, Zecheng and He, Xinwei and Leskovec, Jure},
|
| 36 |
+
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
|
| 37 |
+
year = {2024}
|
| 38 |
+
}
|
| 39 |
+
```
|
legacy/_transformed/rel-f1/manifest.yaml
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: rel-f1
|
| 2 |
+
manifest_version: 1
|
| 3 |
+
description: 'Formula 1 motorsport database: races, drivers, constructors, circuits, race results, qualifying, and championship standings.'
|
| 4 |
+
val_timestamp: '2005-01-01'
|
| 5 |
+
test_timestamp: '2010-01-01'
|
| 6 |
+
tables:
|
| 7 |
+
races:
|
| 8 |
+
pkey: raceId
|
| 9 |
+
time_col: date
|
| 10 |
+
fkeys:
|
| 11 |
+
circuitId: circuits
|
| 12 |
+
qualifying:
|
| 13 |
+
pkey: qualifyId
|
| 14 |
+
time_col: date
|
| 15 |
+
fkeys:
|
| 16 |
+
raceId: races
|
| 17 |
+
driverId: drivers
|
| 18 |
+
constructorId: constructors
|
| 19 |
+
constructor_standings:
|
| 20 |
+
pkey: constructorStandingsId
|
| 21 |
+
time_col: date
|
| 22 |
+
fkeys:
|
| 23 |
+
raceId: races
|
| 24 |
+
constructorId: constructors
|
| 25 |
+
standings:
|
| 26 |
+
pkey: driverStandingsId
|
| 27 |
+
time_col: date
|
| 28 |
+
fkeys:
|
| 29 |
+
raceId: races
|
| 30 |
+
driverId: drivers
|
| 31 |
+
constructors:
|
| 32 |
+
pkey: constructorId
|
| 33 |
+
time_col: null
|
| 34 |
+
fkeys: {}
|
| 35 |
+
drivers:
|
| 36 |
+
pkey: driverId
|
| 37 |
+
time_col: null
|
| 38 |
+
fkeys: {}
|
| 39 |
+
constructor_results:
|
| 40 |
+
pkey: constructorResultsId
|
| 41 |
+
time_col: date
|
| 42 |
+
fkeys:
|
| 43 |
+
raceId: races
|
| 44 |
+
constructorId: constructors
|
| 45 |
+
circuits:
|
| 46 |
+
pkey: circuitId
|
| 47 |
+
time_col: null
|
| 48 |
+
fkeys: {}
|
| 49 |
+
results:
|
| 50 |
+
pkey: resultId
|
| 51 |
+
time_col: date
|
| 52 |
+
fkeys:
|
| 53 |
+
raceId: races
|
| 54 |
+
driverId: drivers
|
| 55 |
+
constructorId: constructors
|
legacy/_transformed/rel-hm/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# rel-hm
|
| 2 |
+
|
| 3 |
+
H&M e-commerce: customers, articles, and time-stamped purchase transactions.
|
| 4 |
+
|
| 5 |
+
## Schema
|
| 6 |
+
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+
## Tasks
|
| 10 |
+
|
| 11 |
+
| task | kind | type | description |
|
| 12 |
+
|---|---|---|---|
|
| 13 |
+
| `item-sales` | forecast | regression | Predict the total sales for an article (the sum of prices of the associated transactions) in the next week. |
|
| 14 |
+
| `transactions-price` | autocomplete | regression | Predict the `price` column of the `transactions` table. |
|
| 15 |
+
| `user-churn` | forecast | binary_classification | Predict the churn for a customer (no transactions) in the next week. |
|
| 16 |
+
| `user-item-purchase` | forecast | link_prediction | Predict the list of articles each customer will purchase in the next seven days. |
|
| 17 |
+
|
| 18 |
+
## Loading
|
| 19 |
+
|
| 20 |
+
```python
|
| 21 |
+
import relbench
|
| 22 |
+
ds = relbench.load_dataset("relbench/v1/rel-hm")
|
| 23 |
+
task = relbench.load_task("relbench/v1/rel-hm", "<task>")
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
## Citation
|
| 27 |
+
|
| 28 |
+
Please cite [RelBench](https://proceedings.neurips.cc/paper_files/paper/2024/hash/25cd345233c65fac1fec0ce61d0f7836-Abstract-Datasets_and_Benchmarks_Track.html):
|
| 29 |
+
|
| 30 |
+
```bibtex
|
| 31 |
+
@inproceedings{robinson2024relbench,
|
| 32 |
+
title = {{RelBench}: A Benchmark for Deep Learning on Relational Databases},
|
| 33 |
+
author = {Robinson, Joshua and Ranjan, Rishabh and Hu, Weihua and Huang, Kexin and Han, Jiaqi and Dobles, Alejandro and Fey, Matthias and Lenssen, Jan E. and Yuan, Yiwen and Zhang, Zecheng and He, Xinwei and Leskovec, Jure},
|
| 34 |
+
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
|
| 35 |
+
year = {2024}
|
| 36 |
+
}
|
| 37 |
+
```
|
legacy/_transformed/rel-hm/schema.svg
ADDED
|
|
legacy/_transformed/rel-hm/tasks/item-sales/manifest.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: item-sales
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: regression
|
| 4 |
+
description: Predict the total sales for an article (the sum of prices of the associated transactions) in the next week.
|
| 5 |
+
entity_table: article
|
| 6 |
+
entity_col: article_id
|
| 7 |
+
target_col: sales
|
| 8 |
+
time_col: timestamp
|
| 9 |
+
timedelta: 7 days
|
| 10 |
+
sql: "\n SELECT\n timestamp,\n article_id,\n sales\n FROM\n timestamps,\n article,\n (\n SELECT\n COALESCE(SUM(price), 0) as sales\n FROM\n transactions,\n WHERE\n transactions.article_id = article.article_id AND\n t_dat > timestamp AND\n t_dat <= timestamp + INTERVAL '{timedelta}'\n )\n "
|
| 11 |
+
manifest_version: 1
|
legacy/_transformed/rel-hm/tasks/transactions-price/manifest.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: transactions-price
|
| 2 |
+
kind: autocomplete
|
| 3 |
+
task_type: regression
|
| 4 |
+
description: Predict the `price` column of the `transactions` table.
|
| 5 |
+
entity_table: transactions
|
| 6 |
+
target_col: price
|
| 7 |
+
manifest_version: 1
|
legacy/_transformed/rel-hm/tasks/user-churn/manifest.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: user-churn
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict the churn for a customer (no transactions) in the next week.
|
| 5 |
+
entity_table: customer
|
| 6 |
+
entity_col: customer_id
|
| 7 |
+
target_col: churn
|
| 8 |
+
time_col: timestamp
|
| 9 |
+
timedelta: 7 days
|
| 10 |
+
sql: "\n SELECT\n timestamp,\n customer_id,\n CAST(\n NOT EXISTS (\n SELECT 1\n FROM transactions\n WHERE\n transactions.customer_id = customer.customer_id AND\n t_dat > timestamp AND\n t_dat <= timestamp + INTERVAL '{timedelta}'\n ) AS INTEGER\n ) AS churn\n FROM\n timestamps,\n customer,\n WHERE\n EXISTS (\n SELECT 1\n FROM transactions\n WHERE\n transactions.customer_id = customer.customer_id AND\n t_dat > timestamp - INTERVAL '{timedelta}' AND\n t_dat <= timestamp\n )\n "
|
| 11 |
+
manifest_version: 1
|
legacy/_transformed/rel-hm/tasks/user-item-purchase/manifest.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: user-item-purchase
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: link_prediction
|
| 4 |
+
description: Predict the list of articles each customer will purchase in the next seven days.
|
| 5 |
+
target_col: article_id
|
| 6 |
+
time_col: timestamp
|
| 7 |
+
src_entity_table: customer
|
| 8 |
+
src_entity_col: customer_id
|
| 9 |
+
dst_entity_table: article
|
| 10 |
+
dst_entity_col: article_id
|
| 11 |
+
eval_k: 12
|
| 12 |
+
timedelta: 7 days
|
| 13 |
+
sql: "\n SELECT\n t.timestamp,\n transactions.customer_id,\n LIST(DISTINCT transactions.article_id) AS article_id\n FROM\n timestamps t\n LEFT JOIN\n transactions\n ON\n transactions.t_dat > t.timestamp AND\n transactions.t_dat <= t.timestamp + INTERVAL '{timedelta}'\n GROUP BY\n t.timestamp,\n transactions.customer_id\n "
|
| 14 |
+
manifest_version: 1
|
legacy/_transformed/rel-stack/manifest.yaml
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: rel-stack
|
| 2 |
+
manifest_version: 1
|
| 3 |
+
description: 'Stack Exchange Q&A: users, posts, comments, votes, badges, and post links.'
|
| 4 |
+
val_timestamp: '2020-10-01'
|
| 5 |
+
test_timestamp: '2021-01-01'
|
| 6 |
+
tables:
|
| 7 |
+
badges:
|
| 8 |
+
pkey: Id
|
| 9 |
+
time_col: Date
|
| 10 |
+
fkeys:
|
| 11 |
+
UserId: users
|
| 12 |
+
votes:
|
| 13 |
+
pkey: Id
|
| 14 |
+
time_col: CreationDate
|
| 15 |
+
fkeys:
|
| 16 |
+
PostId: posts
|
| 17 |
+
UserId: users
|
| 18 |
+
users:
|
| 19 |
+
pkey: Id
|
| 20 |
+
time_col: CreationDate
|
| 21 |
+
fkeys: {}
|
| 22 |
+
comments:
|
| 23 |
+
pkey: Id
|
| 24 |
+
time_col: CreationDate
|
| 25 |
+
fkeys:
|
| 26 |
+
UserId: users
|
| 27 |
+
PostId: posts
|
| 28 |
+
posts:
|
| 29 |
+
pkey: Id
|
| 30 |
+
time_col: CreationDate
|
| 31 |
+
fkeys:
|
| 32 |
+
OwnerUserId: users
|
| 33 |
+
ParentId: posts
|
| 34 |
+
postLinks:
|
| 35 |
+
pkey: Id
|
| 36 |
+
time_col: CreationDate
|
| 37 |
+
fkeys:
|
| 38 |
+
PostId: posts
|
| 39 |
+
RelatedPostId: posts
|
| 40 |
+
postHistory:
|
| 41 |
+
pkey: Id
|
| 42 |
+
time_col: CreationDate
|
| 43 |
+
fkeys:
|
| 44 |
+
PostId: posts
|
| 45 |
+
UserId: users
|
legacy/_transformed/rel-stack/schema.svg
ADDED
|
|
legacy/_transformed/rel-trial/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# rel-trial
|
| 2 |
+
|
| 3 |
+
ClinicalTrials.gov clinical trials: studies, outcomes, adverse events, eligibilities, sponsors, conditions, and facilities.
|
| 4 |
+
|
| 5 |
+
## Schema
|
| 6 |
+
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+
## Tasks
|
| 10 |
+
|
| 11 |
+
| task | kind | type | description |
|
| 12 |
+
|---|---|---|---|
|
| 13 |
+
| `condition-sponsor-run` | forecast | link_prediction | Predict whether this condition will have which sponsors. |
|
| 14 |
+
| `eligibilities-adult` | autocomplete | binary_classification | Predict the `adult` column of the `eligibilities` table. |
|
| 15 |
+
| `eligibilities-child` | autocomplete | binary_classification | Predict the `child` column of the `eligibilities` table. |
|
| 16 |
+
| `site-sponsor-run` | forecast | link_prediction | Predict whether this sponsor will have a trial in a facility. |
|
| 17 |
+
| `site-success` | forecast | regression | Predict the success rate of a trial site in the next 1 year. |
|
| 18 |
+
| `studies-enrollment` | autocomplete | regression | Predict the `enrollment` column of the `studies` table. |
|
| 19 |
+
| `studies-has_dmc` | autocomplete | binary_classification | Predict the `has_dmc` column of the `studies` table. |
|
| 20 |
+
| `study-adverse` | forecast | regression | Predict the number of affected patients with severe advsere events/death for the trial in the next 1 year. |
|
| 21 |
+
| `study-outcome` | forecast | binary_classification | Predict if the trials in the next 1 year will achieve its primary outcome. |
|
| 22 |
+
|
| 23 |
+
## Loading
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
import relbench
|
| 27 |
+
ds = relbench.load_dataset("relbench/v1/rel-trial")
|
| 28 |
+
task = relbench.load_task("relbench/v1/rel-trial", "<task>")
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Citation
|
| 32 |
+
|
| 33 |
+
Please cite [RelBench](https://proceedings.neurips.cc/paper_files/paper/2024/hash/25cd345233c65fac1fec0ce61d0f7836-Abstract-Datasets_and_Benchmarks_Track.html):
|
| 34 |
+
|
| 35 |
+
```bibtex
|
| 36 |
+
@inproceedings{robinson2024relbench,
|
| 37 |
+
title = {{RelBench}: A Benchmark for Deep Learning on Relational Databases},
|
| 38 |
+
author = {Robinson, Joshua and Ranjan, Rishabh and Hu, Weihua and Huang, Kexin and Han, Jiaqi and Dobles, Alejandro and Fey, Matthias and Lenssen, Jan E. and Yuan, Yiwen and Zhang, Zecheng and He, Xinwei and Leskovec, Jure},
|
| 39 |
+
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
|
| 40 |
+
year = {2024}
|
| 41 |
+
}
|
| 42 |
+
```
|
legacy/_transformed/rel-trial/manifest.yaml
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: rel-trial
|
| 2 |
+
manifest_version: 1
|
| 3 |
+
description: 'ClinicalTrials.gov clinical trials: studies, outcomes, adverse events, eligibilities, sponsors, conditions, and facilities.'
|
| 4 |
+
val_timestamp: '2020-01-01'
|
| 5 |
+
test_timestamp: '2021-01-01'
|
| 6 |
+
tables:
|
| 7 |
+
conditions_studies:
|
| 8 |
+
pkey: id
|
| 9 |
+
time_col: date
|
| 10 |
+
fkeys:
|
| 11 |
+
nct_id: studies
|
| 12 |
+
condition_id: conditions
|
| 13 |
+
interventions:
|
| 14 |
+
pkey: intervention_id
|
| 15 |
+
time_col: null
|
| 16 |
+
fkeys: {}
|
| 17 |
+
drop_withdrawals:
|
| 18 |
+
pkey: id
|
| 19 |
+
time_col: date
|
| 20 |
+
fkeys:
|
| 21 |
+
nct_id: studies
|
| 22 |
+
outcome_analyses:
|
| 23 |
+
pkey: id
|
| 24 |
+
time_col: date
|
| 25 |
+
fkeys:
|
| 26 |
+
nct_id: studies
|
| 27 |
+
outcome_id: outcomes
|
| 28 |
+
sponsors_studies:
|
| 29 |
+
pkey: id
|
| 30 |
+
time_col: date
|
| 31 |
+
fkeys:
|
| 32 |
+
nct_id: studies
|
| 33 |
+
sponsor_id: sponsors
|
| 34 |
+
facilities_studies:
|
| 35 |
+
pkey: id
|
| 36 |
+
time_col: date
|
| 37 |
+
fkeys:
|
| 38 |
+
nct_id: studies
|
| 39 |
+
facility_id: facilities
|
| 40 |
+
eligibilities:
|
| 41 |
+
pkey: id
|
| 42 |
+
time_col: date
|
| 43 |
+
fkeys:
|
| 44 |
+
nct_id: studies
|
| 45 |
+
interventions_studies:
|
| 46 |
+
pkey: id
|
| 47 |
+
time_col: date
|
| 48 |
+
fkeys:
|
| 49 |
+
nct_id: studies
|
| 50 |
+
intervention_id: interventions
|
| 51 |
+
outcomes:
|
| 52 |
+
pkey: id
|
| 53 |
+
time_col: date
|
| 54 |
+
fkeys:
|
| 55 |
+
nct_id: studies
|
| 56 |
+
facilities:
|
| 57 |
+
pkey: facility_id
|
| 58 |
+
time_col: null
|
| 59 |
+
fkeys: {}
|
| 60 |
+
reported_event_totals:
|
| 61 |
+
pkey: id
|
| 62 |
+
time_col: date
|
| 63 |
+
fkeys:
|
| 64 |
+
nct_id: studies
|
| 65 |
+
sponsors:
|
| 66 |
+
pkey: sponsor_id
|
| 67 |
+
time_col: null
|
| 68 |
+
fkeys: {}
|
| 69 |
+
studies:
|
| 70 |
+
pkey: nct_id
|
| 71 |
+
time_col: start_date
|
| 72 |
+
fkeys: {}
|
| 73 |
+
conditions:
|
| 74 |
+
pkey: condition_id
|
| 75 |
+
time_col: null
|
| 76 |
+
fkeys: {}
|
| 77 |
+
designs:
|
| 78 |
+
pkey: id
|
| 79 |
+
time_col: date
|
| 80 |
+
fkeys:
|
| 81 |
+
nct_id: studies
|
legacy/_transformed/rel-trial/tasks/condition-sponsor-run/manifest.yaml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: condition-sponsor-run
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: link_prediction
|
| 4 |
+
description: Predict whether this condition will have which sponsors.
|
| 5 |
+
target_col: sponsor_id
|
| 6 |
+
time_col: timestamp
|
| 7 |
+
src_entity_table: conditions
|
| 8 |
+
src_entity_col: condition_id
|
| 9 |
+
dst_entity_table: sponsors
|
| 10 |
+
dst_entity_col: sponsor_id
|
| 11 |
+
eval_k: 10
|
| 12 |
+
timedelta: 365 days
|
| 13 |
+
sql: |-
|
| 14 |
+
SELECT
|
| 15 |
+
t.timestamp,
|
| 16 |
+
cs.condition_id,
|
| 17 |
+
LIST(DISTINCT ss.sponsor_id) AS sponsor_id
|
| 18 |
+
FROM timestamps t
|
| 19 |
+
LEFT JOIN conditions_studies cs
|
| 20 |
+
LEFT JOIN sponsors_studies ss ON ss.nct_id = cs.nct_id
|
| 21 |
+
ON cs.date > t.timestamp
|
| 22 |
+
and cs.date <= t.timestamp + INTERVAL '{timedelta}'
|
| 23 |
+
GROUP BY t.timestamp, cs.condition_id;
|
| 24 |
+
manifest_version: 1
|
legacy/_transformed/rel-trial/tasks/eligibilities-adult/manifest.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: eligibilities-adult
|
| 2 |
+
kind: autocomplete
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict the `adult` column of the `eligibilities` table.
|
| 5 |
+
entity_table: eligibilities
|
| 6 |
+
target_col: adult
|
| 7 |
+
remove_columns:
|
| 8 |
+
- - eligibilities
|
| 9 |
+
- child
|
| 10 |
+
- - eligibilities
|
| 11 |
+
- older_adult
|
| 12 |
+
- - eligibilities
|
| 13 |
+
- minimum_age
|
| 14 |
+
- - eligibilities
|
| 15 |
+
- maximum_age
|
| 16 |
+
- - eligibilities
|
| 17 |
+
- population
|
| 18 |
+
- - eligibilities
|
| 19 |
+
- criteria
|
| 20 |
+
- - eligibilities
|
| 21 |
+
- gender_description
|
| 22 |
+
manifest_version: 1
|
legacy/_transformed/rel-trial/tasks/eligibilities-child/manifest.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: eligibilities-child
|
| 2 |
+
kind: autocomplete
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict the `child` column of the `eligibilities` table.
|
| 5 |
+
entity_table: eligibilities
|
| 6 |
+
target_col: child
|
| 7 |
+
remove_columns:
|
| 8 |
+
- - eligibilities
|
| 9 |
+
- adult
|
| 10 |
+
- - eligibilities
|
| 11 |
+
- older_adult
|
| 12 |
+
- - eligibilities
|
| 13 |
+
- minimum_age
|
| 14 |
+
- - eligibilities
|
| 15 |
+
- maximum_age
|
| 16 |
+
- - eligibilities
|
| 17 |
+
- population
|
| 18 |
+
- - eligibilities
|
| 19 |
+
- criteria
|
| 20 |
+
- - eligibilities
|
| 21 |
+
- gender_description
|
| 22 |
+
manifest_version: 1
|
legacy/_transformed/rel-trial/tasks/site-sponsor-run/manifest.yaml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: site-sponsor-run
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: link_prediction
|
| 4 |
+
description: Predict whether this sponsor will have a trial in a facility.
|
| 5 |
+
target_col: sponsor_id
|
| 6 |
+
time_col: timestamp
|
| 7 |
+
src_entity_table: facilities
|
| 8 |
+
src_entity_col: facility_id
|
| 9 |
+
dst_entity_table: sponsors
|
| 10 |
+
dst_entity_col: sponsor_id
|
| 11 |
+
eval_k: 10
|
| 12 |
+
timedelta: 365 days
|
| 13 |
+
sql: |-
|
| 14 |
+
SELECT
|
| 15 |
+
t.timestamp,
|
| 16 |
+
fs.facility_id,
|
| 17 |
+
LIST(DISTINCT ss.sponsor_id) AS sponsor_id
|
| 18 |
+
FROM timestamps t
|
| 19 |
+
LEFT JOIN facilities_studies fs
|
| 20 |
+
LEFT JOIN sponsors_studies ss ON ss.nct_id = fs.nct_id
|
| 21 |
+
ON fs.date > t.timestamp
|
| 22 |
+
and fs.date <= t.timestamp + INTERVAL '{timedelta}'
|
| 23 |
+
GROUP BY t.timestamp, fs.facility_id;
|
| 24 |
+
manifest_version: 1
|
legacy/_transformed/rel-trial/tasks/site-success/manifest.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: site-success
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: regression
|
| 4 |
+
description: Predict the success rate of a trial site in the next 1 year.
|
| 5 |
+
entity_table: facilities
|
| 6 |
+
entity_col: facility_id
|
| 7 |
+
target_col: success_rate
|
| 8 |
+
time_col: timestamp
|
| 9 |
+
timedelta: 365 days
|
| 10 |
+
sql: |-
|
| 11 |
+
WITH TRIAL_INFO AS (
|
| 12 |
+
SELECT
|
| 13 |
+
oa.nct_id,
|
| 14 |
+
MIN(CASE WHEN oa.p_value < 0.05 THEN 1 ELSE 0 END) AS is_successful, -- Determine if the trial is successful
|
| 15 |
+
oa.date,
|
| 16 |
+
FROM outcome_analyses oa
|
| 17 |
+
LEFT JOIN outcomes o
|
| 18 |
+
ON oa.outcome_id = o.id
|
| 19 |
+
WHERE (oa.p_value_modifier is null or oa.p_value_modifier != '>')
|
| 20 |
+
and oa.p_value >=0
|
| 21 |
+
and oa.p_value <=1
|
| 22 |
+
and o.outcome_type = 'Primary'
|
| 23 |
+
GROUP BY oa.nct_id, oa.date
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
SELECT
|
| 27 |
+
t.timestamp,
|
| 28 |
+
fs.facility_id,
|
| 29 |
+
SUM(tr.is_successful)/COUNT(tr.is_successful) AS success_rate
|
| 30 |
+
FROM timestamps t
|
| 31 |
+
LEFT JOIN TRIAL_INFO tr
|
| 32 |
+
LEFT JOIN facilities_studies fs ON fs.nct_id = tr.nct_id
|
| 33 |
+
ON tr.date > t.timestamp
|
| 34 |
+
and tr.date <= t.timestamp + INTERVAL '{timedelta}'
|
| 35 |
+
WHERE fs.facility_id is not null
|
| 36 |
+
GROUP BY t.timestamp, fs.facility_id;
|
| 37 |
+
manifest_version: 1
|
legacy/_transformed/rel-trial/tasks/studies-enrollment/manifest.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: studies-enrollment
|
| 2 |
+
kind: autocomplete
|
| 3 |
+
task_type: regression
|
| 4 |
+
description: Predict the `enrollment` column of the `studies` table.
|
| 5 |
+
entity_table: studies
|
| 6 |
+
target_col: enrollment
|
| 7 |
+
manifest_version: 1
|
legacy/_transformed/rel-trial/tasks/studies-has_dmc/manifest.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: studies-has_dmc
|
| 2 |
+
kind: autocomplete
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict the `has_dmc` column of the `studies` table.
|
| 5 |
+
entity_table: studies
|
| 6 |
+
target_col: has_dmc
|
| 7 |
+
manifest_version: 1
|
legacy/_transformed/rel-trial/tasks/study-adverse/manifest.yaml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: study-adverse
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: regression
|
| 4 |
+
description: Predict the number of affected patients with severe advsere events/death for the trial in the next 1 year.
|
| 5 |
+
entity_table: studies
|
| 6 |
+
entity_col: nct_id
|
| 7 |
+
target_col: num_of_adverse_events
|
| 8 |
+
time_col: timestamp
|
| 9 |
+
timedelta: 365 days
|
| 10 |
+
sql: |-
|
| 11 |
+
WITH TRIAL_INFO AS (
|
| 12 |
+
SELECT
|
| 13 |
+
r.nct_id,
|
| 14 |
+
r.event_type,
|
| 15 |
+
r.subjects_affected,
|
| 16 |
+
r.date,
|
| 17 |
+
s.start_date
|
| 18 |
+
FROM reported_event_totals r
|
| 19 |
+
LEFT JOIN studies s
|
| 20 |
+
ON r.nct_id = s.nct_id
|
| 21 |
+
WHERE r.event_type = 'serious' or r.event_type = 'deaths'
|
| 22 |
+
and r.subjects_affected is not null
|
| 23 |
+
)
|
| 24 |
+
|
| 25 |
+
SELECT
|
| 26 |
+
t.timestamp,
|
| 27 |
+
tr.nct_id,
|
| 28 |
+
sum(tr.subjects_affected) AS num_of_adverse_events
|
| 29 |
+
FROM timestamps t
|
| 30 |
+
LEFT JOIN TRIAL_INFO tr
|
| 31 |
+
ON tr.start_date <= t.timestamp
|
| 32 |
+
and tr.date > t.timestamp
|
| 33 |
+
and tr.date <= t.timestamp + INTERVAL '{timedelta}'
|
| 34 |
+
WHERE tr.nct_id is not null and tr.subjects_affected is not null
|
| 35 |
+
GROUP BY t.timestamp, tr.nct_id;
|
| 36 |
+
manifest_version: 1
|
legacy/_transformed/rel-trial/tasks/study-outcome/manifest.yaml
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: study-outcome
|
| 2 |
+
kind: forecast
|
| 3 |
+
task_type: binary_classification
|
| 4 |
+
description: Predict if the trials in the next 1 year will achieve its primary outcome.
|
| 5 |
+
entity_table: studies
|
| 6 |
+
entity_col: nct_id
|
| 7 |
+
target_col: outcome
|
| 8 |
+
time_col: timestamp
|
| 9 |
+
timedelta: 365 days
|
| 10 |
+
sql: |-
|
| 11 |
+
WITH TRIAL_INFO AS (
|
| 12 |
+
SELECT
|
| 13 |
+
oa.nct_id,
|
| 14 |
+
oa.p_value,
|
| 15 |
+
s.start_date,
|
| 16 |
+
oa.date
|
| 17 |
+
FROM outcome_analyses oa
|
| 18 |
+
LEFT JOIN outcomes o
|
| 19 |
+
ON oa.outcome_id = o.id
|
| 20 |
+
LEFT JOIN studies s
|
| 21 |
+
ON s.nct_id = o.nct_id
|
| 22 |
+
where (oa.p_value_modifier is null or oa.p_value_modifier != '>')
|
| 23 |
+
and oa.p_value >=0
|
| 24 |
+
and oa.p_value <=1
|
| 25 |
+
and o.outcome_type = 'Primary'
|
| 26 |
+
)
|
| 27 |
+
|
| 28 |
+
SELECT
|
| 29 |
+
t.timestamp,
|
| 30 |
+
tr.nct_id,
|
| 31 |
+
CASE
|
| 32 |
+
WHEN MIN(tr.p_value) <= 0.05 THEN 1
|
| 33 |
+
ELSE 0
|
| 34 |
+
END AS outcome
|
| 35 |
+
FROM timestamps t
|
| 36 |
+
LEFT JOIN TRIAL_INFO tr
|
| 37 |
+
ON tr.start_date <= t.timestamp
|
| 38 |
+
and tr.date > t.timestamp
|
| 39 |
+
and tr.date <= t.timestamp + INTERVAL '{timedelta}'
|
| 40 |
+
WHERE tr.nct_id is not null
|
| 41 |
+
GROUP BY t.timestamp, tr.nct_id;
|
| 42 |
+
manifest_version: 1
|
legacy/rel-amazon/meta.json
CHANGED
|
@@ -13,10 +13,11 @@
|
|
| 13 |
"num_nodes": 73583121,
|
| 14 |
"num_task_tables": 24,
|
| 15 |
"num_text_strings": 31580670,
|
| 16 |
-
"source": "stanford-star/relbench/rel-amazon",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": "product",
|
|
|
|
| 20 |
"name": "item-churn",
|
| 21 |
"splits": [
|
| 22 |
"train",
|
|
@@ -29,6 +30,7 @@
|
|
| 29 |
},
|
| 30 |
{
|
| 31 |
"entity_table": "product",
|
|
|
|
| 32 |
"name": "item-ltv",
|
| 33 |
"splits": [
|
| 34 |
"train",
|
|
@@ -41,7 +43,18 @@
|
|
| 41 |
},
|
| 42 |
{
|
| 43 |
"entity_table": "review",
|
|
|
|
| 44 |
"name": "review-rating",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
"splits": [
|
| 46 |
"train",
|
| 47 |
"val",
|
|
@@ -53,6 +66,7 @@
|
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"entity_table": "customer",
|
|
|
|
| 56 |
"name": "user-churn",
|
| 57 |
"splits": [
|
| 58 |
"train",
|
|
@@ -65,6 +79,7 @@
|
|
| 65 |
},
|
| 66 |
{
|
| 67 |
"entity_table": null,
|
|
|
|
| 68 |
"name": "user-item-purchase",
|
| 69 |
"splits": [
|
| 70 |
"train",
|
|
@@ -77,6 +92,7 @@
|
|
| 77 |
},
|
| 78 |
{
|
| 79 |
"entity_table": null,
|
|
|
|
| 80 |
"name": "user-item-rate",
|
| 81 |
"splits": [
|
| 82 |
"train",
|
|
@@ -89,6 +105,7 @@
|
|
| 89 |
},
|
| 90 |
{
|
| 91 |
"entity_table": null,
|
|
|
|
| 92 |
"name": "user-item-review",
|
| 93 |
"splits": [
|
| 94 |
"train",
|
|
@@ -101,6 +118,7 @@
|
|
| 101 |
},
|
| 102 |
{
|
| 103 |
"entity_table": "customer",
|
|
|
|
| 104 |
"name": "user-ltv",
|
| 105 |
"splits": [
|
| 106 |
"train",
|
|
|
|
| 13 |
"num_nodes": 73583121,
|
| 14 |
"num_task_tables": 24,
|
| 15 |
"num_text_strings": 31580670,
|
| 16 |
+
"source": "/dfs/user/ranjanr/share/stanford-star/relbench/rel-amazon",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": "product",
|
| 20 |
+
"kind": "forecast",
|
| 21 |
"name": "item-churn",
|
| 22 |
"splits": [
|
| 23 |
"train",
|
|
|
|
| 30 |
},
|
| 31 |
{
|
| 32 |
"entity_table": "product",
|
| 33 |
+
"kind": "forecast",
|
| 34 |
"name": "item-ltv",
|
| 35 |
"splits": [
|
| 36 |
"train",
|
|
|
|
| 43 |
},
|
| 44 |
{
|
| 45 |
"entity_table": "review",
|
| 46 |
+
"kind": "autocomplete",
|
| 47 |
"name": "review-rating",
|
| 48 |
+
"remove_columns": [
|
| 49 |
+
[
|
| 50 |
+
"review",
|
| 51 |
+
"review_text"
|
| 52 |
+
],
|
| 53 |
+
[
|
| 54 |
+
"review",
|
| 55 |
+
"summary"
|
| 56 |
+
]
|
| 57 |
+
],
|
| 58 |
"splits": [
|
| 59 |
"train",
|
| 60 |
"val",
|
|
|
|
| 66 |
},
|
| 67 |
{
|
| 68 |
"entity_table": "customer",
|
| 69 |
+
"kind": "forecast",
|
| 70 |
"name": "user-churn",
|
| 71 |
"splits": [
|
| 72 |
"train",
|
|
|
|
| 79 |
},
|
| 80 |
{
|
| 81 |
"entity_table": null,
|
| 82 |
+
"kind": "forecast",
|
| 83 |
"name": "user-item-purchase",
|
| 84 |
"splits": [
|
| 85 |
"train",
|
|
|
|
| 92 |
},
|
| 93 |
{
|
| 94 |
"entity_table": null,
|
| 95 |
+
"kind": "forecast",
|
| 96 |
"name": "user-item-rate",
|
| 97 |
"splits": [
|
| 98 |
"train",
|
|
|
|
| 105 |
},
|
| 106 |
{
|
| 107 |
"entity_table": null,
|
| 108 |
+
"kind": "forecast",
|
| 109 |
"name": "user-item-review",
|
| 110 |
"splits": [
|
| 111 |
"train",
|
|
|
|
| 118 |
},
|
| 119 |
{
|
| 120 |
"entity_table": "customer",
|
| 121 |
+
"kind": "forecast",
|
| 122 |
"name": "user-ltv",
|
| 123 |
"splits": [
|
| 124 |
"train",
|
legacy/rel-amazon/table_info.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"user-item-
|
|
|
|
| 1 |
+
{"user-item-rate:Train":{"node_idx_offset":61619797,"num_nodes":3667157},"item-churn:Train":{"node_idx_offset":23385087,"num_nodes":2536014},"item-churn:Val":{"node_idx_offset":25921101,"num_nodes":177689},"user-ltv:Train":{"node_idx_offset":68464946,"num_nodes":4708383},"user-ltv:Val":{"node_idx_offset":73173329,"num_nodes":409792},"item-ltv:Test":{"node_idx_offset":26098790,"num_nodes":178334},"user-item-purchase:Val":{"node_idx_offset":60975312,"num_nodes":351876},"review-rating:Test":{"node_idx_offset":29151781,"num_nodes":8217532},"item-churn:Test":{"node_idx_offset":23218245,"num_nodes":166842},"item-ltv:Train":{"node_idx_offset":26277124,"num_nodes":2707679},"review:Db":{"node_idx_offset":2356205,"num_nodes":20862040},"user-item-purchase:Train":{"node_idx_offset":55862509,"num_nodes":5112803},"user-item-rate:Test":{"node_idx_offset":61327188,"num_nodes":292609},"user-item-purchase:Test":{"node_idx_offset":55468524,"num_nodes":393985},"product:Db":{"node_idx_offset":1850193,"num_nodes":506012},"user-item-review:Val":{"node_idx_offset":67996091,"num_nodes":116970},"user-churn:Val":{"node_idx_offset":55058732,"num_nodes":409792},"item-ltv:Val":{"node_idx_offset":28984803,"num_nodes":166978},"review-rating:Train":{"node_idx_offset":37369313,"num_nodes":11822796},"user-ltv:Test":{"node_idx_offset":68113061,"num_nodes":351885},"user-item-rate:Val":{"node_idx_offset":65286954,"num_nodes":257939},"user-churn:Test":{"node_idx_offset":49998464,"num_nodes":351885},"user-item-review:Train":{"node_idx_offset":65671914,"num_nodes":2324177},"review-rating:Val":{"node_idx_offset":49192109,"num_nodes":806355},"customer:Db":{"node_idx_offset":0,"num_nodes":1850193},"user-churn:Train":{"node_idx_offset":50350349,"num_nodes":4708383},"user-item-review:Test":{"node_idx_offset":65544893,"num_nodes":127021}}
|
legacy/rel-avito/column_index.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"
|
|
|
|
| 1 |
+
{"num_click of ad-ctr":4,"PhoneRequestDate of PhoneRequestsStream":18,"CityID of Location":3263657,"timestamp of user-clicks":8,"UserID of VisitStream":3263650,"HistCTR of SearchStream":3263646,"timestamp of user-ad-visit":3263633,"IsUserLoggedOn of SearchInfo":3246433,"UserID of SearchInfo":3246429,"SearchID of SearchInfo":3246430,"UserID of UserInfo":3263635,"SearchID of SearchStream":3263642,"LocationID of Location":3263654,"IPID of PhoneRequestsStream":16,"SearchDate of SearchInfo":3246431,"UserAgentFamilyID of UserInfo":3263639,"SubcategoryID of Category":3246427,"num_click of user-clicks":9,"CategoryID of Category":3246424,"IPID of SearchInfo":3246432,"UserAgentID of UserInfo":3263636,"SearchDate of SearchStream":3263648,"IsContext of AdsInfo":3246415,"primary_key of searchstream-click":3246422,"IsUserLoggedOn of searchinfo-isuserloggedon":3246419,"num_click of user-visits":13,"CategoryID of SearchInfo":3263630,"timestamp of ad-ctr":3,"SearchDate of searchinfo-isuserloggedon":3246417,"UserDeviceID of UserInfo":3263638,"LocationID of AdsInfo":20,"UserID of PhoneRequestsStream":15,"SearchQuery of SearchInfo":3246434,"AdID of SearchStream":3263643,"IPID of VisitStream":3263651,"AdID of VisitStream":3263652,"ParentCategoryID of Category":3246426,"Level of Location":3263655,"UserID of user-visits":11,"CategoryID of AdsInfo":22,"ObjectType of SearchStream":3263645,"SearchDate of searchstream-click":3246421,"Title of AdsInfo":25,"LocationID of SearchInfo":3263629,"AdID of user-ad-visit":3263634,"AdID of ad-ctr":1,"AdID of PhoneRequestsStream":17,"identifier of UserInfo":3263640,"IsClick of SearchStream":3263647,"UserID of user-clicks":6,"UserID of user-ad-visit":3263632,"Price of AdsInfo":24,"SearchID of searchinfo-isuserloggedon":3246418,"UserAgentOSID of UserInfo":3263637,"Position of SearchStream":3263644,"IsClick of searchstream-click":3246423,"Level of Category":3246425,"ViewDate of VisitStream":3263653,"RegionID of Location":3263656,"AdID of AdsInfo":19,"timestamp of user-visits":12}
|
legacy/rel-avito/meta.json
CHANGED
|
@@ -12,11 +12,12 @@
|
|
| 12 |
"num_db_tables": 8,
|
| 13 |
"num_nodes": 31991090,
|
| 14 |
"num_task_tables": 18,
|
| 15 |
-
"num_text_strings":
|
| 16 |
-
"source": "stanford-star/relbench/rel-avito",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": "AdsInfo",
|
|
|
|
| 20 |
"name": "ad-ctr",
|
| 21 |
"splits": [
|
| 22 |
"train",
|
|
@@ -29,6 +30,7 @@
|
|
| 29 |
},
|
| 30 |
{
|
| 31 |
"entity_table": "SearchInfo",
|
|
|
|
| 32 |
"name": "searchinfo-isuserloggedon",
|
| 33 |
"splits": [
|
| 34 |
"train",
|
|
@@ -41,6 +43,7 @@
|
|
| 41 |
},
|
| 42 |
{
|
| 43 |
"entity_table": "SearchStream",
|
|
|
|
| 44 |
"name": "searchstream-click",
|
| 45 |
"splits": [
|
| 46 |
"train",
|
|
@@ -53,6 +56,7 @@
|
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"entity_table": null,
|
|
|
|
| 56 |
"name": "user-ad-visit",
|
| 57 |
"splits": [
|
| 58 |
"train",
|
|
@@ -65,6 +69,7 @@
|
|
| 65 |
},
|
| 66 |
{
|
| 67 |
"entity_table": "UserInfo",
|
|
|
|
| 68 |
"name": "user-clicks",
|
| 69 |
"splits": [
|
| 70 |
"train",
|
|
@@ -77,6 +82,7 @@
|
|
| 77 |
},
|
| 78 |
{
|
| 79 |
"entity_table": "UserInfo",
|
|
|
|
| 80 |
"name": "user-visits",
|
| 81 |
"splits": [
|
| 82 |
"train",
|
|
|
|
| 12 |
"num_db_tables": 8,
|
| 13 |
"num_nodes": 31991090,
|
| 14 |
"num_task_tables": 18,
|
| 15 |
+
"num_text_strings": 3263658,
|
| 16 |
+
"source": "/dfs/user/ranjanr/share/stanford-star/relbench/rel-avito",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": "AdsInfo",
|
| 20 |
+
"kind": "forecast",
|
| 21 |
"name": "ad-ctr",
|
| 22 |
"splits": [
|
| 23 |
"train",
|
|
|
|
| 30 |
},
|
| 31 |
{
|
| 32 |
"entity_table": "SearchInfo",
|
| 33 |
+
"kind": "autocomplete",
|
| 34 |
"name": "searchinfo-isuserloggedon",
|
| 35 |
"splits": [
|
| 36 |
"train",
|
|
|
|
| 43 |
},
|
| 44 |
{
|
| 45 |
"entity_table": "SearchStream",
|
| 46 |
+
"kind": "autocomplete",
|
| 47 |
"name": "searchstream-click",
|
| 48 |
"splits": [
|
| 49 |
"train",
|
|
|
|
| 56 |
},
|
| 57 |
{
|
| 58 |
"entity_table": null,
|
| 59 |
+
"kind": "forecast",
|
| 60 |
"name": "user-ad-visit",
|
| 61 |
"splits": [
|
| 62 |
"train",
|
|
|
|
| 69 |
},
|
| 70 |
{
|
| 71 |
"entity_table": "UserInfo",
|
| 72 |
+
"kind": "forecast",
|
| 73 |
"name": "user-clicks",
|
| 74 |
"splits": [
|
| 75 |
"train",
|
|
|
|
| 82 |
},
|
| 83 |
{
|
| 84 |
"entity_table": "UserInfo",
|
| 85 |
+
"kind": "forecast",
|
| 86 |
"name": "user-visits",
|
| 87 |
"splits": [
|
| 88 |
"train",
|
legacy/rel-event/meta.json
CHANGED
|
@@ -12,12 +12,19 @@
|
|
| 12 |
"num_db_tables": 5,
|
| 13 |
"num_nodes": 44941234,
|
| 14 |
"num_task_tables": 18,
|
| 15 |
-
"num_text_strings":
|
| 16 |
-
"source": "stanford-star/relbench/rel-event",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": "event_interest",
|
|
|
|
| 20 |
"name": "event_interest-interested",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
"splits": [
|
| 22 |
"train",
|
| 23 |
"val",
|
|
@@ -29,7 +36,14 @@
|
|
| 29 |
},
|
| 30 |
{
|
| 31 |
"entity_table": "event_interest",
|
|
|
|
| 32 |
"name": "event_interest-not_interested",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
"splits": [
|
| 34 |
"train",
|
| 35 |
"val",
|
|
@@ -41,6 +55,7 @@
|
|
| 41 |
},
|
| 42 |
{
|
| 43 |
"entity_table": "users",
|
|
|
|
| 44 |
"name": "user-attendance",
|
| 45 |
"splits": [
|
| 46 |
"train",
|
|
@@ -53,6 +68,7 @@
|
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"entity_table": "users",
|
|
|
|
| 56 |
"name": "user-ignore",
|
| 57 |
"splits": [
|
| 58 |
"train",
|
|
@@ -65,6 +81,7 @@
|
|
| 65 |
},
|
| 66 |
{
|
| 67 |
"entity_table": "users",
|
|
|
|
| 68 |
"name": "user-repeat",
|
| 69 |
"splits": [
|
| 70 |
"train",
|
|
@@ -77,6 +94,7 @@
|
|
| 77 |
},
|
| 78 |
{
|
| 79 |
"entity_table": "users",
|
|
|
|
| 80 |
"name": "users-birthyear",
|
| 81 |
"splits": [
|
| 82 |
"train",
|
|
|
|
| 12 |
"num_db_tables": 5,
|
| 13 |
"num_nodes": 44941234,
|
| 14 |
"num_task_tables": 18,
|
| 15 |
+
"num_text_strings": 112199,
|
| 16 |
+
"source": "/dfs/user/ranjanr/share/stanford-star/relbench/rel-event",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": "event_interest",
|
| 20 |
+
"kind": "autocomplete",
|
| 21 |
"name": "event_interest-interested",
|
| 22 |
+
"remove_columns": [
|
| 23 |
+
[
|
| 24 |
+
"event_interest",
|
| 25 |
+
"not_interested"
|
| 26 |
+
]
|
| 27 |
+
],
|
| 28 |
"splits": [
|
| 29 |
"train",
|
| 30 |
"val",
|
|
|
|
| 36 |
},
|
| 37 |
{
|
| 38 |
"entity_table": "event_interest",
|
| 39 |
+
"kind": "autocomplete",
|
| 40 |
"name": "event_interest-not_interested",
|
| 41 |
+
"remove_columns": [
|
| 42 |
+
[
|
| 43 |
+
"event_interest",
|
| 44 |
+
"interested"
|
| 45 |
+
]
|
| 46 |
+
],
|
| 47 |
"splits": [
|
| 48 |
"train",
|
| 49 |
"val",
|
|
|
|
| 55 |
},
|
| 56 |
{
|
| 57 |
"entity_table": "users",
|
| 58 |
+
"kind": "forecast",
|
| 59 |
"name": "user-attendance",
|
| 60 |
"splits": [
|
| 61 |
"train",
|
|
|
|
| 68 |
},
|
| 69 |
{
|
| 70 |
"entity_table": "users",
|
| 71 |
+
"kind": "forecast",
|
| 72 |
"name": "user-ignore",
|
| 73 |
"splits": [
|
| 74 |
"train",
|
|
|
|
| 81 |
},
|
| 82 |
{
|
| 83 |
"entity_table": "users",
|
| 84 |
+
"kind": "external",
|
| 85 |
"name": "user-repeat",
|
| 86 |
"splits": [
|
| 87 |
"train",
|
|
|
|
| 94 |
},
|
| 95 |
{
|
| 96 |
"entity_table": "users",
|
| 97 |
+
"kind": "autocomplete",
|
| 98 |
"name": "users-birthyear",
|
| 99 |
"splits": [
|
| 100 |
"train",
|
legacy/rel-event/table_info.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"
|
|
|
|
| 1 |
+
{"event_interest-interested:Val":{"node_idx_offset":44837854,"num_nodes":536},"user-repeat:Test":{"node_idx_offset":44900208,"num_nodes":246},"events:Db":{"node_idx_offset":11260408,"num_nodes":3137972},"user-repeat:Val":{"node_idx_offset":44904296,"num_nodes":268},"event_interest-not_interested:Test":{"node_idx_offset":44838390,"num_nodes":420},"user-ignore:Val":{"node_idx_offset":44898195,"num_nodes":2013},"users-birthyear:Val":{"node_idx_offset":44939503,"num_nodes":1731},"user-ignore:Test":{"node_idx_offset":44876998,"num_nodes":1958},"event_interest:Db":{"node_idx_offset":11245010,"num_nodes":15398},"user-attendance:Val":{"node_idx_offset":44874985,"num_nodes":2013},"user-attendance:Test":{"node_idx_offset":44853788,"num_nodes":1958},"event_interest-interested:Test":{"node_idx_offset":44822992,"num_nodes":420},"event_interest-not_interested:Val":{"node_idx_offset":44853252,"num_nodes":536},"user-repeat:Train":{"node_idx_offset":44900454,"num_nodes":3842},"user_friends:Db":{"node_idx_offset":14398380,"num_nodes":30386403},"users-birthyear:Test":{"node_idx_offset":44904564,"num_nodes":1002},"users:Db":{"node_idx_offset":44784783,"num_nodes":38209},"users-birthyear:Train":{"node_idx_offset":44905566,"num_nodes":33937},"user-attendance:Train":{"node_idx_offset":44855746,"num_nodes":19239},"user-ignore:Train":{"node_idx_offset":44878956,"num_nodes":19239},"event_interest-not_interested:Train":{"node_idx_offset":44838810,"num_nodes":14442},"event_interest-interested:Train":{"node_idx_offset":44823412,"num_nodes":14442},"event_attendees:Db":{"node_idx_offset":0,"num_nodes":11245010}}
|
legacy/rel-f1/column_index.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"
|
|
|
|
| 1 |
+
{"constructorRef of constructors":2325,"constructorId of qualifying":2972,"points of standings":2314,"lng of circuits":2966,"time of races":3036,"points of results":12,"position of qualifying-position":26,"constructorStandingsId of constructor_standings":28,"name of races":2980,"driverStandingsId of standings":2311,"qualifyId of qualifying":2969,"location of circuits":2854,"positionOrder of results":11,"name of constructors":2510,"surname of drivers":1480,"grid of results":9,"raceId of constructor_standings":29,"driverId of standings":2313,"points of constructor_standings":31,"circuitId of races":2979,"constructorResultsId of constructor_results":2319,"position of qualifying":2974,"circuitId of circuits":2701,"date of driver-dnf":2698,"date of qualifying":2975,"driverId of driver-circuit-compete":37,"driverRef of drivers":49,"date of constructor_results":2323,"date of standings":2317,"resultId of results":1,"date of driver-position":41,"raceId of results":2,"lat of circuits":2965,"driverId of driver-position":42,"position of results-position":47,"number of results":8,"raceId of standings":2312,"did_not_finish of driver-dnf":2700,"date of qualifying-position":24,"nationality of drivers":2267,"statusId of results":17,"driverId of driver-top3":21,"position of standings":2315,"raceId of constructor_results":2320,"circuitId of driver-circuit-compete":38,"nationality of constructors":2695,"driverId of driver-dnf":2699,"circuitRef of circuits":2702,"name of circuits":2776,"date of races":3035,"position of results":10,"laps of results":13,"resultId of results-position":46,"position of constructor_standings":32,"constructorId of constructors":2324,"qualifying of driver-top3":22,"position of driver-position":43,"date of constructor_standings":34,"dob of drivers":2266,"constructorId of constructor_results":2321,"points of constructor_results":2322,"alt of circuits":2967,"driverId of results":4,"date of driver-top3":20,"raceId of qualifying":2970,"rank of results":16,"date of results":18,"wins of standings":2316,"driverId of qualifying":2971,"forename of drivers":1003,"constructorId of constructor_standings":30,"country of circuits":2929,"year of races":2977,"round of races":2978,"wins of constructor_standings":33,"driverId of drivers":48,"milliseconds of results":14,"constructorId of results":6,"raceId of races":2976,"qualifyId of qualifying-position":25,"fastestLap of results":15,"date of results-position":45,"date of driver-circuit-compete":36,"code of drivers":907,"number of qualifying":2973}
|
legacy/rel-hm/meta.json
CHANGED
|
@@ -12,11 +12,12 @@
|
|
| 12 |
"num_db_tables": 3,
|
| 13 |
"num_nodes": 45980751,
|
| 14 |
"num_task_tables": 12,
|
| 15 |
-
"num_text_strings":
|
| 16 |
-
"source": "stanford-star/relbench/rel-hm",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": "article",
|
|
|
|
| 20 |
"name": "item-sales",
|
| 21 |
"splits": [
|
| 22 |
"train",
|
|
@@ -29,6 +30,7 @@
|
|
| 29 |
},
|
| 30 |
{
|
| 31 |
"entity_table": "transactions",
|
|
|
|
| 32 |
"name": "transactions-price",
|
| 33 |
"splits": [
|
| 34 |
"train",
|
|
@@ -41,6 +43,7 @@
|
|
| 41 |
},
|
| 42 |
{
|
| 43 |
"entity_table": "customer",
|
|
|
|
| 44 |
"name": "user-churn",
|
| 45 |
"splits": [
|
| 46 |
"train",
|
|
@@ -53,6 +56,7 @@
|
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"entity_table": null,
|
|
|
|
| 56 |
"name": "user-item-purchase",
|
| 57 |
"splits": [
|
| 58 |
"train",
|
|
|
|
| 12 |
"num_db_tables": 3,
|
| 13 |
"num_nodes": 45980751,
|
| 14 |
"num_task_tables": 12,
|
| 15 |
+
"num_text_strings": 442785,
|
| 16 |
+
"source": "/dfs/user/ranjanr/share/stanford-star/relbench/rel-hm",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": "article",
|
| 20 |
+
"kind": "forecast",
|
| 21 |
"name": "item-sales",
|
| 22 |
"splits": [
|
| 23 |
"train",
|
|
|
|
| 30 |
},
|
| 31 |
{
|
| 32 |
"entity_table": "transactions",
|
| 33 |
+
"kind": "autocomplete",
|
| 34 |
"name": "transactions-price",
|
| 35 |
"splits": [
|
| 36 |
"train",
|
|
|
|
| 43 |
},
|
| 44 |
{
|
| 45 |
"entity_table": "customer",
|
| 46 |
+
"kind": "forecast",
|
| 47 |
"name": "user-churn",
|
| 48 |
"splits": [
|
| 49 |
"train",
|
|
|
|
| 56 |
},
|
| 57 |
{
|
| 58 |
"entity_table": null,
|
| 59 |
+
"kind": "forecast",
|
| 60 |
"name": "user-item-purchase",
|
| 61 |
"splits": [
|
| 62 |
"train",
|
legacy/rel-hm/table_info.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"
|
|
|
|
| 1 |
+
{"transactions-price:Test":{"node_idx_offset":22630441,"num_nodes":266364},"transactions:Db":{"node_idx_offset":1477522,"num_nodes":15453651},"item-sales:Val":{"node_idx_offset":22524899,"num_nodes":105542},"user-item-purchase:Test":{"node_idx_offset":41960581,"num_nodes":67144},"article:Db":{"node_idx_offset":0,"num_nodes":105542},"transactions-price:Val":{"node_idx_offset":37741096,"num_nodes":235662},"user-churn:Val":{"node_idx_offset":41884025,"num_nodes":76556},"transactions-price:Train":{"node_idx_offset":22896805,"num_nodes":14844291},"user-churn:Train":{"node_idx_offset":38051333,"num_nodes":3832692},"user-churn:Test":{"node_idx_offset":37976758,"num_nodes":74575},"customer:Db":{"node_idx_offset":105542,"num_nodes":1371980},"item-sales:Train":{"node_idx_offset":17036715,"num_nodes":5488184},"item-sales:Test":{"node_idx_offset":16931173,"num_nodes":105542},"user-item-purchase:Val":{"node_idx_offset":45906176,"num_nodes":74575},"user-item-purchase:Train":{"node_idx_offset":42027725,"num_nodes":3878451}}
|
legacy/rel-stack/column_index.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"
|
|
|
|
| 1 |
+
{"AccountId of users":2,"CreationDate of users":386543,"PostHistoryTypeId of postHistory":1149619,"Comment of postHistory":2992205,"CreationDate of comments":3932258,"UserId of postHistory":1149618,"Class of badges":3141451,"UserId of comments":3141786,"OwnerDisplayName of posts":386549,"WillGetBadge of user-badge":3932262,"CreationDate of postHistory":3141447,"timestamp of user-badge":3932260,"Id of posts":386545,"PostTypeId of posts":386547,"Text of postHistory":2135552,"ContentLicense of comments":3141787,"PostId of postLinks":3932266,"Body of posts":734288,"CreationDate of posts":1149602,"postLinksIdList of post-post-related":1149606,"Id of postHistory":1149616,"timestamp of post-votes":1149612,"PostId of votes":3932272,"VoteTypeId of votes":3932273,"timestamp of user-engagement":1149608,"PostId of post-post-related":1149605,"PostId of post-votes":1149613,"PostId of comments":3141785,"AboutMe of users":329004,"UserId of votes":3932271,"CreationDate of postLinks":3932268,"identifier of votes":3932275,"DisplayName of users":3,"Id of users":1,"WebsiteUrl of users":296702,"Text of comments":3142763,"timestamp of post-post-related":1149604,"ContentLicense of posts":734284,"PostId of user-post-comment":3141783,"Location of users":282677,"Title of posts":388927,"UserId of user-badge":3932261,"CreationDate of votes":3932274,"Id of votes":3932270,"timestamp of user-post-comment":3141781,"PostId of postHistory":1149617,"RelatedPostId of postLinks":3932265,"Id of comments":3141784,"LinkTypeId of postLinks":3932267,"Tags of posts":598501,"OwnerUserId of posts":386546,"RevisionGUID of postHistory":1149655,"UserId of user-post-comment":3141782,"ParentId of posts":386548,"contribution of user-engagement":1149610,"popularity of post-votes":1149614,"Name of badges":3141452,"UserDisplayName of comments":3141788,"UserDisplayName of postHistory":1149620,"UserId of badges":3141450,"Date of badges":3141779,"OwnerUserId of user-engagement":1149609,"Id of badges":3141449,"Id of postLinks":3932264,"TagBased of badges":3141778,"ContentLicense of postHistory":1149654}
|
legacy/rel-stack/meta.json
CHANGED
|
@@ -12,11 +12,12 @@
|
|
| 12 |
"num_db_tables": 7,
|
| 13 |
"num_nodes": 13623878,
|
| 14 |
"num_task_tables": 15,
|
| 15 |
-
"num_text_strings":
|
| 16 |
-
"source": "stanford-star/relbench/rel-stack",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": null,
|
|
|
|
| 20 |
"name": "post-post-related",
|
| 21 |
"splits": [
|
| 22 |
"train",
|
|
@@ -29,6 +30,7 @@
|
|
| 29 |
},
|
| 30 |
{
|
| 31 |
"entity_table": "posts",
|
|
|
|
| 32 |
"name": "post-votes",
|
| 33 |
"splits": [
|
| 34 |
"train",
|
|
@@ -41,6 +43,7 @@
|
|
| 41 |
},
|
| 42 |
{
|
| 43 |
"entity_table": "users",
|
|
|
|
| 44 |
"name": "user-badge",
|
| 45 |
"splits": [
|
| 46 |
"train",
|
|
@@ -53,6 +56,7 @@
|
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"entity_table": "users",
|
|
|
|
| 56 |
"name": "user-engagement",
|
| 57 |
"splits": [
|
| 58 |
"train",
|
|
@@ -65,6 +69,7 @@
|
|
| 65 |
},
|
| 66 |
{
|
| 67 |
"entity_table": null,
|
|
|
|
| 68 |
"name": "user-post-comment",
|
| 69 |
"splits": [
|
| 70 |
"train",
|
|
|
|
| 12 |
"num_db_tables": 7,
|
| 13 |
"num_nodes": 13623878,
|
| 14 |
"num_task_tables": 15,
|
| 15 |
+
"num_text_strings": 3932276,
|
| 16 |
+
"source": "/dfs/user/ranjanr/share/stanford-star/relbench/rel-stack",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": null,
|
| 20 |
+
"kind": "forecast",
|
| 21 |
"name": "post-post-related",
|
| 22 |
"splits": [
|
| 23 |
"train",
|
|
|
|
| 30 |
},
|
| 31 |
{
|
| 32 |
"entity_table": "posts",
|
| 33 |
+
"kind": "forecast",
|
| 34 |
"name": "post-votes",
|
| 35 |
"splits": [
|
| 36 |
"train",
|
|
|
|
| 43 |
},
|
| 44 |
{
|
| 45 |
"entity_table": "users",
|
| 46 |
+
"kind": "forecast",
|
| 47 |
"name": "user-badge",
|
| 48 |
"splits": [
|
| 49 |
"train",
|
|
|
|
| 56 |
},
|
| 57 |
{
|
| 58 |
"entity_table": "users",
|
| 59 |
+
"kind": "forecast",
|
| 60 |
"name": "user-engagement",
|
| 61 |
"splits": [
|
| 62 |
"train",
|
|
|
|
| 69 |
},
|
| 70 |
{
|
| 71 |
"entity_table": null,
|
| 72 |
+
"kind": "forecast",
|
| 73 |
"name": "user-post-comment",
|
| 74 |
"splits": [
|
| 75 |
"train",
|
legacy/rel-trial/meta.json
CHANGED
|
@@ -12,11 +12,12 @@
|
|
| 12 |
"num_db_tables": 15,
|
| 13 |
"num_nodes": 7933813,
|
| 14 |
"num_task_tables": 27,
|
| 15 |
-
"num_text_strings":
|
| 16 |
-
"source": "stanford-star/relbench/rel-trial",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": null,
|
|
|
|
| 20 |
"name": "condition-sponsor-run",
|
| 21 |
"splits": [
|
| 22 |
"train",
|
|
@@ -29,7 +30,38 @@
|
|
| 29 |
},
|
| 30 |
{
|
| 31 |
"entity_table": "eligibilities",
|
|
|
|
| 32 |
"name": "eligibilities-adult",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
"splits": [
|
| 34 |
"train",
|
| 35 |
"val",
|
|
@@ -41,7 +73,38 @@
|
|
| 41 |
},
|
| 42 |
{
|
| 43 |
"entity_table": "eligibilities",
|
|
|
|
| 44 |
"name": "eligibilities-child",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
"splits": [
|
| 46 |
"train",
|
| 47 |
"val",
|
|
@@ -53,6 +116,7 @@
|
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"entity_table": null,
|
|
|
|
| 56 |
"name": "site-sponsor-run",
|
| 57 |
"splits": [
|
| 58 |
"train",
|
|
@@ -65,6 +129,7 @@
|
|
| 65 |
},
|
| 66 |
{
|
| 67 |
"entity_table": "facilities",
|
|
|
|
| 68 |
"name": "site-success",
|
| 69 |
"splits": [
|
| 70 |
"train",
|
|
@@ -77,6 +142,7 @@
|
|
| 77 |
},
|
| 78 |
{
|
| 79 |
"entity_table": "studies",
|
|
|
|
| 80 |
"name": "studies-enrollment",
|
| 81 |
"splits": [
|
| 82 |
"train",
|
|
@@ -89,6 +155,7 @@
|
|
| 89 |
},
|
| 90 |
{
|
| 91 |
"entity_table": "studies",
|
|
|
|
| 92 |
"name": "studies-has_dmc",
|
| 93 |
"splits": [
|
| 94 |
"train",
|
|
@@ -101,6 +168,7 @@
|
|
| 101 |
},
|
| 102 |
{
|
| 103 |
"entity_table": "studies",
|
|
|
|
| 104 |
"name": "study-adverse",
|
| 105 |
"splits": [
|
| 106 |
"train",
|
|
@@ -113,6 +181,7 @@
|
|
| 113 |
},
|
| 114 |
{
|
| 115 |
"entity_table": "studies",
|
|
|
|
| 116 |
"name": "study-outcome",
|
| 117 |
"splits": [
|
| 118 |
"train",
|
|
|
|
| 12 |
"num_db_tables": 15,
|
| 13 |
"num_nodes": 7933813,
|
| 14 |
"num_task_tables": 27,
|
| 15 |
+
"num_text_strings": 3194386,
|
| 16 |
+
"source": "/dfs/user/ranjanr/share/stanford-star/relbench/rel-trial",
|
| 17 |
"tasks": [
|
| 18 |
{
|
| 19 |
"entity_table": null,
|
| 20 |
+
"kind": "forecast",
|
| 21 |
"name": "condition-sponsor-run",
|
| 22 |
"splits": [
|
| 23 |
"train",
|
|
|
|
| 30 |
},
|
| 31 |
{
|
| 32 |
"entity_table": "eligibilities",
|
| 33 |
+
"kind": "autocomplete",
|
| 34 |
"name": "eligibilities-adult",
|
| 35 |
+
"remove_columns": [
|
| 36 |
+
[
|
| 37 |
+
"eligibilities",
|
| 38 |
+
"child"
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
"eligibilities",
|
| 42 |
+
"older_adult"
|
| 43 |
+
],
|
| 44 |
+
[
|
| 45 |
+
"eligibilities",
|
| 46 |
+
"minimum_age"
|
| 47 |
+
],
|
| 48 |
+
[
|
| 49 |
+
"eligibilities",
|
| 50 |
+
"maximum_age"
|
| 51 |
+
],
|
| 52 |
+
[
|
| 53 |
+
"eligibilities",
|
| 54 |
+
"population"
|
| 55 |
+
],
|
| 56 |
+
[
|
| 57 |
+
"eligibilities",
|
| 58 |
+
"criteria"
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
"eligibilities",
|
| 62 |
+
"gender_description"
|
| 63 |
+
]
|
| 64 |
+
],
|
| 65 |
"splits": [
|
| 66 |
"train",
|
| 67 |
"val",
|
|
|
|
| 73 |
},
|
| 74 |
{
|
| 75 |
"entity_table": "eligibilities",
|
| 76 |
+
"kind": "autocomplete",
|
| 77 |
"name": "eligibilities-child",
|
| 78 |
+
"remove_columns": [
|
| 79 |
+
[
|
| 80 |
+
"eligibilities",
|
| 81 |
+
"adult"
|
| 82 |
+
],
|
| 83 |
+
[
|
| 84 |
+
"eligibilities",
|
| 85 |
+
"older_adult"
|
| 86 |
+
],
|
| 87 |
+
[
|
| 88 |
+
"eligibilities",
|
| 89 |
+
"minimum_age"
|
| 90 |
+
],
|
| 91 |
+
[
|
| 92 |
+
"eligibilities",
|
| 93 |
+
"maximum_age"
|
| 94 |
+
],
|
| 95 |
+
[
|
| 96 |
+
"eligibilities",
|
| 97 |
+
"population"
|
| 98 |
+
],
|
| 99 |
+
[
|
| 100 |
+
"eligibilities",
|
| 101 |
+
"criteria"
|
| 102 |
+
],
|
| 103 |
+
[
|
| 104 |
+
"eligibilities",
|
| 105 |
+
"gender_description"
|
| 106 |
+
]
|
| 107 |
+
],
|
| 108 |
"splits": [
|
| 109 |
"train",
|
| 110 |
"val",
|
|
|
|
| 116 |
},
|
| 117 |
{
|
| 118 |
"entity_table": null,
|
| 119 |
+
"kind": "forecast",
|
| 120 |
"name": "site-sponsor-run",
|
| 121 |
"splits": [
|
| 122 |
"train",
|
|
|
|
| 129 |
},
|
| 130 |
{
|
| 131 |
"entity_table": "facilities",
|
| 132 |
+
"kind": "forecast",
|
| 133 |
"name": "site-success",
|
| 134 |
"splits": [
|
| 135 |
"train",
|
|
|
|
| 142 |
},
|
| 143 |
{
|
| 144 |
"entity_table": "studies",
|
| 145 |
+
"kind": "autocomplete",
|
| 146 |
"name": "studies-enrollment",
|
| 147 |
"splits": [
|
| 148 |
"train",
|
|
|
|
| 155 |
},
|
| 156 |
{
|
| 157 |
"entity_table": "studies",
|
| 158 |
+
"kind": "autocomplete",
|
| 159 |
"name": "studies-has_dmc",
|
| 160 |
"splits": [
|
| 161 |
"train",
|
|
|
|
| 168 |
},
|
| 169 |
{
|
| 170 |
"entity_table": "studies",
|
| 171 |
+
"kind": "forecast",
|
| 172 |
"name": "study-adverse",
|
| 173 |
"splits": [
|
| 174 |
"train",
|
|
|
|
| 181 |
},
|
| 182 |
{
|
| 183 |
"entity_table": "studies",
|
| 184 |
+
"kind": "forecast",
|
| 185 |
"name": "study-outcome",
|
| 186 |
"splits": [
|
| 187 |
"train",
|
legacy/rel-trial/table_info.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"
|
|
|
|
| 1 |
+
{"study-outcome:Val":{"node_idx_offset":7932853,"num_nodes":960},"studies:Db":{"node_idx_offset":5578997,"num_nodes":273160},"eligibilities:Db":{"node_idx_offset":1157584,"num_nodes":273160},"studies-has_dmc:Val":{"node_idx_offset":7858022,"num_nodes":11983},"eligibilities-adult:Test":{"node_idx_offset":5893229,"num_nodes":23430},"conditions_studies:Db":{"node_idx_offset":3973,"num_nodes":440543},"designs:Db":{"node_idx_offset":444516,"num_nodes":272521},"eligibilities-adult:Val":{"node_idx_offset":6151025,"num_nodes":14470},"outcomes:Db":{"node_idx_offset":4188823,"num_nodes":476790},"eligibilities-adult:Train":{"node_idx_offset":5916659,"num_nodes":234366},"studies-enrollment:Val":{"node_idx_offset":7621768,"num_nodes":14470},"drop_withdrawals:Db":{"node_idx_offset":717037,"num_nodes":440547},"study-outcome:Test":{"node_idx_offset":7920034,"num_nodes":825},"outcome_analyses:Db":{"node_idx_offset":3934403,"num_nodes":254420},"site-sponsor-run:Train":{"node_idx_offset":6465189,"num_nodes":669310},"sponsors:Db":{"node_idx_offset":5100742,"num_nodes":53241},"site-success:Val":{"node_idx_offset":7345526,"num_nodes":19740},"facilities_studies:Db":{"node_idx_offset":1883977,"num_nodes":1867226},"site-success:Train":{"node_idx_offset":7194119,"num_nodes":151407},"condition-sponsor-run:Train":{"node_idx_offset":5854214,"num_nodes":36934},"study-adverse:Test":{"node_idx_offset":7870005,"num_nodes":3098},"site-success:Test":{"node_idx_offset":7171502,"num_nodes":22617},"condition-sponsor-run:Test":{"node_idx_offset":5852157,"num_nodes":2057},"interventions_studies:Db":{"node_idx_offset":3754665,"num_nodes":179738},"sponsors_studies:Db":{"node_idx_offset":5153983,"num_nodes":425014},"eligibilities-child:Val":{"node_idx_offset":6423291,"num_nodes":14470},"interventions:Db":{"node_idx_offset":3751203,"num_nodes":3462},"studies-has_dmc:Test":{"node_idx_offset":7636238,"num_nodes":18944},"site-sponsor-run:Test":{"node_idx_offset":6437761,"num_nodes":27428},"study-adverse:Train":{"node_idx_offset":7873103,"num_nodes":43335},"studies-enrollment:Test":{"node_idx_offset":7365266,"num_nodes":23430},"eligibilities-child:Test":{"node_idx_offset":6165495,"num_nodes":23430},"study-outcome:Train":{"node_idx_offset":7920859,"num_nodes":11994},"studies-has_dmc:Train":{"node_idx_offset":7655182,"num_nodes":202840},"reported_event_totals:Db":{"node_idx_offset":4665613,"num_nodes":435129},"site-sponsor-run:Val":{"node_idx_offset":7134499,"num_nodes":37003},"study-adverse:Val":{"node_idx_offset":7916438,"num_nodes":3596},"eligibilities-child:Train":{"node_idx_offset":6188925,"num_nodes":234366},"conditions:Db":{"node_idx_offset":0,"num_nodes":3973},"studies-enrollment:Train":{"node_idx_offset":7388696,"num_nodes":233072},"facilities:Db":{"node_idx_offset":1430744,"num_nodes":453233},"condition-sponsor-run:Val":{"node_idx_offset":5891148,"num_nodes":2081}}
|