gemseo.mlearning.resampling.split module#

A train-test split.

class Split(train, test)[source]#

Bases: object

A train-test split.

Parameters:
  • train (NDArray[int])

  • test (NDArray[int])

test: NDArray[int]#

The indices of the test samples.

train: NDArray[int]#

The indices of the train samples.