rel-stack: user engagement (Classification)
This docs example now matches the current local runner: it materializes the official rel-stack tables through the relbench library and then builds the GraphReduce user-engagement frame from those CSVs.
from pathlib import Path
from relbench_dataset_utils import materialize_relbench_dataset
materialized = materialize_relbench_dataset(
"rel-stack",
Path("tests/data/relbench/rel-stack"),
{
"users": "Users.csv",
"posts": "Posts.csv",
"badges": "Badges.csv",
"postHistory": "PostHistory.csv",
"postLinks": "PostLinks.csv",
"votes": "Votes.csv",
"comments": "Comments.csv",
},
)
print(materialized)
Current implementation:
Interactive Runner
Idle