public class SimpleDatasetData extends Object implements AutoCloseable
data
of the SimpleDataset
containing matrix of features in flat column-major format
stored in heap.Constructor and Description |
---|
SimpleDatasetData(double[] features,
int rows)
Constructs a new instance of partition
data of the SimpleDataset containing matrix of features in
flat column-major format stored in heap. |
public SimpleDatasetData(double[] features, int rows)
data
of the SimpleDataset
containing matrix of features in
flat column-major format stored in heap.features
- Matrix of features in a dense flat column-major format.rows
- Number of rows.public double[] getFeatures()
public int getRows()
public void close()
close
in interface AutoCloseable
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024