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