parsnip.split_train_test

parsnip.split_train_test(dataset)

Split a dataset into training and testing parts.

We train on 90%, and test on 10%. We use a fixed algorithm to split the train and test so that we don’t have to keep track of what we did.

Parameters:

dataset (Dataset) – Dataset to split

Returns:

  • Dataset – Training dataset

  • Dataset – Test dataset