Random split
A random split is a data-partitioning procedure that assigns examples or other units randomly to separate subsets.
Graph Algorithms for Data Science
A random dataset split partitions examples or graph relationships into subsets through random assignment.
- How it is used
- Supports link prediction and link completion when relationships have no usable time information.
- How deep it goes
- Explains random train/test assignment and feature-leakage prevention, but does not detail model training or evaluation algorithms.
- Examples
- Uses the Twitch shared-audience network, Neo4j, Cypher, and a rand() threshold to construct feature relationships.
- What you can do after
- Apply random relationship assignment and separate feature links from supervised samples for link-prediction datasets.
Read how Graph Algorithms for Data Science explains random split →
Build AI Drug Discovery Pipelines
A random split partitions dataset examples into subsets by randomly assigning examples to each subset.
- How it is used
- Uses predefined random training and test assignments to evaluate hERG blocker prediction.
- How deep it goes
- Defines the partition and identifies its dataset column, but does not explain the randomization algorithm or evaluation metrics.
- Examples
- Uses the hERG blockers dataset and its Random Split column as the concrete example.
- What you can do after
- Apply it via pandas by selecting training and test examples from the Random Split column.
Read how Build AI Drug Discovery Pipelines explains random split →
Also covered in
Related concepts
- scaffold splitcontrasts with · A scaffold split divides molecular data into training and test sets according to molecular scaffolds so that structurally related compounds remain grouped and the evaluation tests structural generalization.
- training datasetproduces · A training dataset is a collection of examples supplied to a learning procedure to fit or adapt a model’s parameters or behavior.
- evaluation datasetproduces · An evaluation dataset is a collection of data or test cases used to assess a model or system against specified outcomes or criteria.
Questions about random split
What is random split?
A random split is a data-partitioning procedure that assigns examples or other units randomly to separate subsets.
Which Manning books explain random split?
Graph Algorithms for Data Science and Build AI Drug Discovery Pipelines.
What is the difference between random split and time-based split?
A random split is a data-partitioning procedure that assigns examples or other units randomly to separate subsets. A time-based split partitions graph relationships according to their creation times so earlier relationships support prediction of later ones.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

