public class LeaveOneOut extends AbstractHoldout
Modifier and Type | Field and Description |
---|---|
private int |
len
Size of the data set.
|
private int |
pos
Size of the data set.
|
bundle, labelcol, labels
Constructor and Description |
---|
LeaveOneOut()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
initialize(MultipleObjectsBundle bundle)
Initialize the holdout procedure for a data set.
|
TrainingAndTestSet |
nextPartitioning()
Get the next partitioning of the given holdout.
|
int |
numberOfPartitions()
How many partitions to test.
|
allClassLabels, allClassLabels, findClassLabelColumn, getLabels
public void initialize(MultipleObjectsBundle bundle)
Holdout
initialize
in interface Holdout
initialize
in class AbstractHoldout
bundle
- Data set bundlepublic int numberOfPartitions()
Holdout
public TrainingAndTestSet nextPartitioning()
Holdout
Copyright © 2019 ELKI Development Team. License information.