Simple Train-Test Split¶
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:
- X : table
- X
- Y : table
- Y
- Output ports:
- X_train : table
- X_train
- Y_train : table
- Y_train
- X_test : table
- X_test
- Y_test : table
- Y_test
- Test size (test_size)
- Size of test data as fraction (< 1) of all data
- Stratify (stratify)
- Stratify data using Y as class labels