Stratified K-fold cross validation

../../../../_images/Kfold.svg
class node_crossvalidation.CrossVal_StratifiedKFold[source]

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