PresplitFilesCV#
- class PresplitFilesCV(cv=None)[source]#
Cross-validation iterator over split predefined in files.
This class is useful in orchestration where the train and test set is provided in separate files.
Methods
Return the number of splits.
split
(data[, y, groups])Split the data according to the train/test index.