public final class DatasetFactory extends Object
Modifier and Type | Method and Description |
---|---|
static List<Integer> |
defaultDatasetSizes()
Default set of dataset sizes to test profiling on,
on a logarithmic scale.
|
static List<Integer> |
logarathmicDatasetSizes(int min,
int max,
int base)
Generates a set of dataset sizes to test profiling on,
on a logarithmic scale.
|
static Cell1DDataset |
makeCell1DGaussianRandomData(int nSamples)
Generates Cell1D data that can be used in rendering.
|
static Cell2DDataset |
makeCell2DGaussianRandomData(int xSamples,
int ySamples)
Generates Cell2D data that can be used in rendering.
|
static Point1DDataset |
makePoint1DGaussianRandomData(int nSamples)
Generates Point1D data that can be used in rendering.
|
static Point2DDataset |
makePoint2DGaussianRandomData(int nSamples)
Generates Point2D data that can be used in rendering.
|
static Point3DWithLabelDataset |
makePoint3DWithLabelGaussianRandomData(int nSamples)
Generates Point3D data that can be used in rendering.
|
public static List<Integer> defaultDatasetSizes()
public static List<Integer> logarathmicDatasetSizes(int min, int max, int base)
min
- minimum power to raise the base tomax
- maximum power to raise the base tobase
- raise this to the power of npublic static Point1DDataset makePoint1DGaussianRandomData(int nSamples)
nSamples
- number of points in datapublic static Point2DDataset makePoint2DGaussianRandomData(int nSamples)
nSamples
- number of points in datapublic static Point3DWithLabelDataset makePoint3DWithLabelGaussianRandomData(int nSamples)
nSamples
- number of points in datapublic static Cell1DDataset makeCell1DGaussianRandomData(int nSamples)
nSamples
- number of points in datapublic static Cell2DDataset makeCell2DGaussianRandomData(int xSamples, int ySamples)
xSamples
- number of x-cells in dataySamples
- number of y-cells in dataCopyright © 2015. All rights reserved.