.. _`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 :Inputs: **X** : table X **Y** : table Y :Outputs: **out** : [(table, table)] out *Ports*: **Inputs**: :X: table X :Y: table Y **Outputs**: :out: [(table, table)] out *Configuration*: **n_splits** Number of folds, must be atleast 2 **shuffle** Shuffle the data before splitting .. automodule:: node_crossvalidation .. class:: CrossVal_StratifiedKFold