Group K-fold Cross Validation

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

K-fold variant with non-overlapping groups.The same group will not appear in two different folds (the number of distinct groups has to be at least equal to the number of folds).

Definition

Input ports

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

Output ports

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

Configuration

Number of splits (n_splits)

Number of folds, must be atleast 2

Implementation

class node_crossvalidation.CrossVal_GroupKFold[source]