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