K-fold Cross Validation

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

Gives splits for 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
class node_crossvalidation.CrossVal_KFold[source]