public class BootstrappedDatasetPartition extends Object implements AutoCloseable, Iterable<BootstrappedVector>
Constructor and Description |
---|
BootstrappedDatasetPartition(BootstrappedVector[] vectors)
Creates an instance of BootstrappedDatasetPartition.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
BootstrappedVector |
getRow(int rowId)
Returns vector from dataset in according to row id.
|
int |
getRowsCount()
Returns rows count.
|
@NotNull Iterator<BootstrappedVector> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public BootstrappedDatasetPartition(BootstrappedVector[] vectors)
vectors
- Vectors.public BootstrappedVector getRow(int rowId)
rowId
- Row id.public int getRowsCount()
@NotNull public @NotNull Iterator<BootstrappedVector> iterator()
iterator
in interface Iterable<BootstrappedVector>
public void close() throws Exception
close
in interface AutoCloseable
Exception
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024