KEY
- Type of groupsINSTANCE
- Type of the instances in the datasetpublic class StratifiedGroupedRandomisedPercentageHoldOut<KEY,INSTANCE> extends DefaultValidationData<GroupedDataset<KEY,ListDataset<INSTANCE>,INSTANCE>>
training, validation
Constructor and Description |
---|
StratifiedGroupedRandomisedPercentageHoldOut(double percentageTraining,
GroupedDataset<KEY,ListDataset<INSTANCE>,INSTANCE> dataset)
Construct with the given dataset and percentage of training data (0..1).
|
getTrainingDataset, getValidationDataset
public StratifiedGroupedRandomisedPercentageHoldOut(double percentageTraining, GroupedDataset<KEY,ListDataset<INSTANCE>,INSTANCE> dataset)
percentageTraining
- percentage of the dataset to use for trainingdataset
- the dataset