File size: 1,701 Bytes
5e8aa46 cc3d1eb 5e8aa46 48e6dba 5e8aa46 5ec4506 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | # rel-stack
Stack Exchange Q&A: users, posts, comments, votes, badges, and post links.
## Schema

## Tasks
| task | kind | type | description |
|---|---|---|---|
| `post-post-related` | forecast | link_prediction | Predict a list of existing posts that users will link a given post to in the next two years. |
| `post-votes` | forecast | regression | Predict the number of upvotes that an existing question will receive in the next 2 years. |
| `user-badge` | forecast | binary_classification | Predict if each user will receive in a new badge the next 2 years. |
| `user-engagement` | forecast | binary_classification | Predict if a user will make any votes/posts/comments in the next 2 years. |
| `user-post-comment` | forecast | link_prediction | Predict a list of existing posts that a user will comment in the next two years. |
## Loading
```python
import relbench
ds = relbench.load_dataset("relbench/v1/rel-stack")
task = relbench.load_task("relbench/v1/rel-stack", "<task>")
```
## Citation
Please cite [RelBench](https://proceedings.neurips.cc/paper_files/paper/2024/hash/25cd345233c65fac1fec0ce61d0f7836-Abstract-Datasets_and_Benchmarks_Track.html):
```bibtex
@inproceedings{robinson2024relbench,
title = {{RelBench}: A Benchmark for Deep Learning on Relational Databases},
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},
booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
year = {2024}
}
```
|