gov.sandia.cognition.learning.data
Interface DataPartitioner<DataType>

Type Parameters:
DataType - The type of data to partition.
All Known Subinterfaces:
RandomizedDataPartitioner<DataType>
All Known Implementing Classes:
RandomDataPartitioner

public interface DataPartitioner<DataType>

The DataPartitioner interface defines the functionality of an object that can create a PartitionedDataset from a collection of data.

Since:
2.0
Author:
Justin Basilico

Method Summary
 PartitionedDataset<DataType> createPartition(Collection<? extends DataType> data)
          Partitions the given collection of data into a training set and a testing set.
 

Method Detail

createPartition

PartitionedDataset<DataType> createPartition(Collection<? extends DataType> data)
Partitions the given collection of data into a training set and a testing set.

Parameters:
data - The data to partition.
Returns:
The partitioned dataset.