K-fold Cross Validation

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

Gives splits for K-fold cross validation

Definition

Input ports

X
Type: table
Description: X
Y
Type: table
Description: Y

Output ports

out
Type: [(table, table)]
Description: out

Configuration

Number of splits (n_splits)

Number of folds, must be atleast 2

Shuffle (shuffle)

Shuffle the data before splitting

Examples

The node can be found in:

Implementation

class node_crossvalidation.CrossVal_KFold[source]