Stratified K-fold cross validation

../../../../_images/Kfold.svg

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
class node_crossvalidation.CrossVal_StratifiedKFold[source]