gov.sandia.cognition.learning.experiment
Interface ValidationFoldCreator<InputDataType,FoldDataType>

Type Parameters:
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.
All Superinterfaces:
Serializable
All Known Implementing Classes:
CrossFoldCreator, LeaveOneOutFoldCreator, RandomByTwoFoldCreator, RandomFoldCreator

public interface ValidationFoldCreator<InputDataType,FoldDataType>
extends Serializable

The ValidationFoldCreator interface 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.

Since:
2.0
Author:
Justin Basilico

Method Summary
 List<PartitionedDataset<FoldDataType>> createFolds(Collection<? extends InputDataType> data)
          Creates a list of partitioned (training and testing) datasets from the given single dataset.
 

Method Detail

createFolds

List<PartitionedDataset<FoldDataType>> createFolds(Collection<? extends InputDataType> data)
Creates a list of partitioned (training and testing) datasets from the given single dataset.

Parameters:
data - The data to create multiple folds from.
Returns:
The list of partitioned datasets.