public interface VectorGenerator extends Supplier<Vector>
| Modifier and Type | Method and Description |
|---|---|
default DataStreamGenerator |
asDataStream()
Conterts vectors generator to unlabeled data stream generator.
|
default VectorGenerator |
concat(RandomProducer producer)
Creates new generator by concatenation of vectors of this generator and random producer.
|
default VectorGenerator |
concat(VectorGenerator other)
Creates new generator by concatenation of vectors of this generator and other.
|
default VectorGenerator |
duplicateRandomFeatures(int increaseSize)
Increase vectors of generator by increaseSize and sets to new values random selected feature values from already
set components.
|
default VectorGenerator |
duplicateRandomFeatures(int increaseSize,
Long seed)
Increase vectors of generator by increaseSize and sets to new values random selected feature values from already
set components.
|
default VectorGenerator |
filter(IgnitePredicate<Vector> predicate)
Filters values of vector generator using predicate.
|
default VectorGenerator |
map(IgniteFunction<Vector,Vector> mapper)
Maps values of vector generator using mapper.
|
default VectorGenerator |
move(Vector v)
Moves all vectors to other position by summing with input vector.
|
default VectorGenerator |
noisify(RandomProducer randomProducer)
Adds noize to all components of generated vectors.
|
default VectorGenerator |
plus(VectorGenerator other)
Creates new generator by sum of vectors of this generator and other.
|
default VectorGenerator |
rotate(double angle)
Rotate first two components of all vectors of generator by angle around zero.
|
default VectorGenerator |
rotate(double angle,
int firstComponent,
int secondComponent)
Rotate selected two components of all vectors of generator by angle around zero.
|
default VectorGenerator |
shuffle()
Creates a permanent rearrangement mapping of features in vector and applies this rearrangement for each vectors
of current generator.
|
default VectorGenerator |
shuffle(Long seed)
Creates a permanent rearrangement mapping of features in vector and applies this rearrangement for each vectors
of current generator.
|
default VectorGenerator map(IgniteFunction<Vector,Vector> mapper)
mapper - Mapper.default VectorGenerator filter(IgnitePredicate<Vector> predicate)
predicate - Predicate.default VectorGenerator concat(VectorGenerator other)
other - Other.default VectorGenerator concat(RandomProducer producer)
producer - Producer.default VectorGenerator plus(VectorGenerator other)
other - Other.default VectorGenerator shuffle()
default VectorGenerator shuffle(Long seed)
seed - Seed.default VectorGenerator duplicateRandomFeatures(int increaseSize)
increaseSize - Increase size.default VectorGenerator duplicateRandomFeatures(int increaseSize, Long seed)
increaseSize - Increase size.seed - Seed.default VectorGenerator move(Vector v)
v - Vector.default VectorGenerator rotate(double angle)
angle - Angle.default VectorGenerator rotate(double angle, int firstComponent, int secondComponent)
angle - Angle.firstComponent - First component id.secondComponent - Second component id.default VectorGenerator noisify(RandomProducer randomProducer)
randomProducer - Random producer.default DataStreamGenerator asDataStream()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025