Simple Train-Test Split

../../../../_images/traintest.svg

Splits input data into a training and a test dataset

Documentation

Splits input data into a training and a test dataset

Configuration:

  • test_size

    Size of test data as fraction (< 1) of all data

  • stratify

    Stratify data using Y as class labels

Input ports:
Xtable

X

Ytable

Y

Output ports:
X_traintable

X_train

Y_traintable

Y_train

X_testtable

X_test

Y_testtable

Y_test

Definition

class node_crossvalidation.CrossVal_SimpleSplit[source]