public static interface Sampler.SubSampler
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.lang.Long> |
sample(RandomAccessDataset dataset)
Fetches an iterator that iterates through the indices of the given
RandomAccessDataset . |
java.util.Iterator<java.lang.Long> sample(RandomAccessDataset dataset)
RandomAccessDataset
.dataset
- the RandomAccessDataset
to sample fromRandomAccessDataset