A random split assigns graph relationships at random to training and test sets when relationship timestamps are unavailable. It supports link prediction and link completion, where missing links must be predicted without a time component. section 10.2.2
Use a random split for link prediction by following these practical steps:
- Randomly select relationships for the training and test sets instead of using past and future timestamps. section 10.2.2
- Construct network features from relationships kept separate from the supervised samples used for model training and evaluation. section 10.2.2 section 10.2
- Optionally create a validation set when hyperparameter optimization is planned. section 10.2.2
Twitch shared-audience network
For link prediction on the Twitch shared-audience network, a Cypher query matches SHARED_AUDIENCE relationships, keeps each relationship with rand() <= 0.9, and creates a separate FEATURE_REL relationship for network-feature construction. section 10.2.2
Use the relationship-split figure to compare random assignment with time-based assignment. section 10.2.2
