.. _`Simple Train-Test Split`: .. _`org.sysess.sympathy.machinelearning.simple_split`: Simple Train-Test Split ~~~~~~~~~~~~~~~~~~~~~~~ .. image:: traintest.svg :width: 48 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 :Inputs: **X** : table X **Y** : table Y :Outputs: **X_train** : table X_train **Y_train** : table Y_train **X_test** : table X_test **Y_test** : table Y_test *Ports*: **Inputs**: :X: table X :Y: table Y **Outputs**: :X_train: table X_train :Y_train: table Y_train :X_test: table X_test :Y_test: table Y_test *Configuration*: **test_size** Size of test data as fraction (< 1) of all data **stratify** Stratify data using Y as class labels .. automodule:: node_crossvalidation .. class:: CrossVal_SimpleSplit