core / rel-stack /README.md
rishabh-ranjan's picture
rel-stack: remove multiclass badges-class task; drop empty multiclass column from STATS
622bdd1 verified

rel-stack

Stack Exchange Q&A: users, posts, comments, votes, badges, and post links.

Schema

schema diagram

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

import relbench
ds = relbench.load_dataset("relbench/v1/rel-stack")
task = relbench.load_task("relbench/v1/rel-stack", "<task>")

Citation

Please cite RelBench:

@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}
}