Split Data for Cross Validation

../../../../_images/cv_mux.svg

Partitions the data as per given training and test indicies. Returns list of tuples: (X training, Y training, X test, Y test)

Definition

Input ports

splits
Type: [(table, table)]
Description: splits
data
Type: table
Description: data
Optional number of ports: 2–inf (default: 2)

Output ports

out
Type: [‘sylist’, [‘sytuple’, [‘sytypes’, [‘sygroup’, ‘data’]], [‘sytypes’, [‘sygroup’, ‘data’]]]]
Description: out

Examples

The node can be found in:

Implementation

class node_crossvalidation.CrossVal_split[source]