gemseo / mlearning / resampling

Hide inherited members

split module

A train-test split.

class gemseo.mlearning.resampling.split.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.