.. _`Stratified K-fold cross validation`: .. _`org.sysess.sympathy.machinelearning.crossval_stratifiedkfold`: Stratified K-fold cross validation ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. image:: Kfold.svg :width: 48 Gives splits for stratified K-fold cross validation *Configuration*: - *n_splits* Number of folds, must be atleast 2 - *shuffle* Shuffle the data before splitting *Input ports*: **X** : table X **Y** : table Y *Output ports*: **out** : [(table, table)] out **Number of splits** (n_splits) Number of folds, must be atleast 2 **Shuffle** (shuffle) Shuffle the data before splitting .. automodule:: node_crossvalidation .. class:: CrossVal_StratifiedKFold