Package | Description |
---|---|
org.apache.ignite.ml.util.generators.primitives.scalar |
Contains generators of pseudo-random scalars in according to specific disctribution.
|
org.apache.ignite.ml.util.generators.primitives.vector |
Contains generators of pseudo-random vectors in according to specific disctribution.
|
Modifier and Type | Method and Description |
---|---|
default VectorGenerator |
RandomProducer.vectorize(int vectorSize)
Create
VectorGenerator with vectors having feature values generated by random producer. |
static VectorGenerator |
RandomProducer.vectorize(RandomProducer... producers)
Creates
VectorGenerator with vectors having feature values in according to
preudorandom producers. |
Modifier and Type | Class and Description |
---|---|
class |
ParametricVectorGenerator
Generate vectors having components generated by parametrized function.
|
class |
VectorGeneratorsFamily
Represents a distribution family of district vector generators.
|
Modifier and Type | Method and Description |
---|---|
static VectorGenerator |
VectorGeneratorPrimitives.circle(double radius)
Returns vector generator of 2D-vectors from circle-like distribution around zero.
|
static VectorGenerator |
VectorGeneratorPrimitives.circle(double radius,
long seed)
Returns vector generator of 2D-vectors from circle-like distribution around zero.
|
default VectorGenerator |
VectorGenerator.concat(RandomProducer producer)
Creates new generator by concatenation of vectors of this generator and random producer.
|
default VectorGenerator |
VectorGenerator.concat(VectorGenerator other)
Creates new generator by concatenation of vectors of this generator and other.
|
static VectorGenerator |
VectorGeneratorPrimitives.constant(Vector v) |
default VectorGenerator |
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 |
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 |
VectorGenerator.filter(IgnitePredicate<Vector> predicate)
Filters values of vector generator using predicate.
|
static VectorGenerator |
VectorGeneratorPrimitives.gauss(Vector means,
Vector variances)
Returns vector generator of vectors from multidimension gauss distribution.
|
static VectorGenerator |
VectorGeneratorPrimitives.gauss(Vector means,
Vector variances,
Long seed)
Returns vector generator of vectors from multidimension gauss distribution.
|
default VectorGenerator |
VectorGenerator.map(IgniteFunction<Vector,Vector> mapper)
Maps values of vector generator using mapper.
|
default VectorGenerator |
VectorGenerator.move(Vector v)
Moves all vectors to other position by summing with input vector.
|
default VectorGenerator |
VectorGenerator.noisify(RandomProducer randomProducer)
Adds noize to all components of generated vectors.
|
static VectorGenerator |
VectorGeneratorPrimitives.parallelogram(Vector bounds)
Returns vector generator of vectors from multidimension uniform distribution around zero.
|
static VectorGenerator |
VectorGeneratorPrimitives.parallelogram(Vector bounds,
long seed)
Returns vector generator of vectors from multidimension uniform distribution around zero.
|
default VectorGenerator |
VectorGenerator.plus(VectorGenerator other)
Creates new generator by sum of vectors of this generator and other.
|
static VectorGenerator |
VectorGeneratorPrimitives.ring(double radius,
double fromAngle,
double toAngle)
Returns vector generator of 2D-vectors from ring-like distribution.
|
static VectorGenerator |
VectorGeneratorPrimitives.ring(double radius,
double fromAngle,
double toAngle,
long seed)
Returns vector generator of 2D-vectors from ring-like distribution around zero.
|
default VectorGenerator |
VectorGenerator.rotate(double angle)
Rotate first two components of all vectors of generator by angle around zero.
|
default VectorGenerator |
VectorGenerator.rotate(double angle,
int firstComponent,
int secondComponent)
Rotate selected two components of all vectors of generator by angle around zero.
|
default VectorGenerator |
VectorGenerator.shuffle()
Creates a permanent rearrangement mapping of features in vector and applies this rearrangement for each vectors
of current generator.
|
default VectorGenerator |
VectorGenerator.shuffle(Long seed)
Creates a permanent rearrangement mapping of features in vector and applies this rearrangement for each vectors
of current generator.
|
static VectorGenerator |
VectorGeneratorPrimitives.zero(int size) |
Modifier and Type | Method and Description |
---|---|
VectorGeneratorsFamily.Builder |
VectorGeneratorsFamily.Builder.add(VectorGenerator generator)
Adds generator to family with weight = 1.
|
VectorGeneratorsFamily.Builder |
VectorGeneratorsFamily.Builder.add(VectorGenerator generator,
double weight)
Add generator to family with weight proportional to it selection probability.
|
default VectorGenerator |
VectorGenerator.concat(VectorGenerator other)
Creates new generator by concatenation of vectors of this generator and other.
|
default VectorGenerator |
VectorGenerator.plus(VectorGenerator other)
Creates new generator by sum of vectors of this generator and other.
|
Modifier and Type | Method and Description |
---|---|
VectorGeneratorsFamily.Builder |
VectorGeneratorsFamily.Builder.map(IgniteFunction<VectorGenerator,VectorGenerator> mapper)
Adds map function for all generators in family.
|
VectorGeneratorsFamily.Builder |
VectorGeneratorsFamily.Builder.map(IgniteFunction<VectorGenerator,VectorGenerator> mapper)
Adds map function for all generators in family.
|
GridGain In-Memory Computing Platform : ver. 8.9.5 Release Date : May 9 2024