public class RingsDataStream extends Object implements DataStreamGenerator
FILL_CACHE_BATCH_SIZE
Constructor and Description |
---|
RingsDataStream(int cntOfRings,
double minRadius,
double distanceBetweenRings)
Create an intance of RingsDataStream.
|
RingsDataStream(int cntOfRings,
double minRadius,
double distanceBetweenRings,
long seed)
Create an intance of RingsDataStream.
|
Modifier and Type | Method and Description |
---|---|
Stream<LabeledVector<Double>> |
labeled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asDatasetBuilder, asDatasetBuilder, asDatasetBuilder, asMap, blur, fillCacheWithCustomKey, fillCacheWithVecHashAsKey, fillCacheWithVecUUIDAsKey, labeled, mapVectors, unlabeled
public RingsDataStream(int cntOfRings, double minRadius, double distanceBetweenRings)
cntOfRings
- Count of circles.minRadius
- Min radius.distanceBetweenRings
- Distance between circles.public RingsDataStream(int cntOfRings, double minRadius, double distanceBetweenRings, long seed)
cntOfRings
- Count of circles.minRadius
- Min radius.distanceBetweenRings
- Distance between circles.seed
- Seed.public Stream<LabeledVector<Double>> labeled()
labeled
in interface DataStreamGenerator
LabeledVector
in according to dataset shape.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024