InputDataType- The type of the data to create the folds from. It is typically the same as the FoldDataType, but that is not required.
FoldDataType- The type of data that the folds can be created for.
public interface ValidationFoldCreator<InputDataType,FoldDataType> extends java.io.Serializable
ValidationFoldCreatorinterface defines the functionality for an object that can create a collection of folds for a validation experiment where a set of data is split into training and testing sets multiple times.
|Modifier and Type||Method and Description|
Creates a list of partitioned (training and testing) datasets from the given single dataset.
java.util.List<PartitionedDataset<FoldDataType>> createFolds(java.util.Collection<? extends InputDataType> data)
data- The data to create multiple folds from.