public class SandboxMLCache extends Object
Constructor and Description |
---|
SandboxMLCache(Ignite ignite) |
Modifier and Type | Method and Description |
---|---|
IgniteCache<Integer,double[]> |
fillCacheWith(double[][] data)
Fills cache with data and returns it.
|
IgniteCache<Integer,Vector> |
fillCacheWith(MLSandboxDatasets dataset)
Fills cache with data and returns it.
|
List<String> |
loadDataset(MLSandboxDatasets dataset)
Loads dataset as a list of rows.
|
public SandboxMLCache(Ignite ignite)
public IgniteCache<Integer,double[]> fillCacheWith(double[][] data)
data
- Data to fill the cache with.public List<String> loadDataset(MLSandboxDatasets dataset) throws IOException
dataset
- The chosen dataset.IOException
- If file not found.public IgniteCache<Integer,Vector> fillCacheWith(MLSandboxDatasets dataset) throws IOException
dataset
- The chosen dataset.FileNotFoundException
- If file not found.IOException
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024