split
- systemds.operator.algorithm.split(X: Matrix, Y: Matrix, **kwargs: Dict[str, DAGNode | str | int | float | bool])
This function split input data X and Y into contiguous or samples train/test sets
- Parameters:
X – Input feature matrix
Y – Input Labels
f – Train set fraction [0,1]
cont – contiguous splits, otherwise sampled
seed – The seed to randomly select rows in sampled mode
- Returns:
Train split of feature matrix
- Returns:
Test split of feature matrix
- Returns:
Train split of label matrix
- Returns:
Test split of label matrix