calour.experiment.Experiment.split_train_test

Experiment.split_train_test(test_size, train_size=None, stratify=None, shuffle=False, random_state=None)[source]

Split experiment into train experiment and test experiment.

Parameters:
Returns:

train, test

Return type:

tuple of 2 Experiment objects