Package | Description |
---|---|
org.apache.ignite.ml.math |
Contains main APIs for matrix/vector algebra.
|
org.apache.ignite.ml.math.primitives.vector |
Contains vector related classes.
|
org.apache.ignite.ml.math.util |
Some math utils.
|
org.apache.ignite.ml.util |
Contains some utils for ML module.
|
Modifier and Type | Method and Description |
---|---|
static void |
Blas.spr(Double alpha,
DenseVector v,
DenseVector u)
Adds alpha * v * v.t to a matrix in-place.
|
static void |
Blas.spr(Double alpha,
SparseVector v,
DenseVector u) |
Modifier and Type | Method and Description |
---|---|
static DenseVector |
VectorUtils.fill(double val,
int n)
Create new vector of specified size n with specified value.
|
static DenseVector |
VectorUtils.zeroes(int n)
Create new
|
Modifier and Type | Method and Description |
---|---|
static DenseVector |
MatrixUtil.localCopyOf(Vector vec)
TODO: IGNITE-5723, rewrite in a more optimal way.
|
Modifier and Type | Method and Description |
---|---|
static Stream<DenseVector> |
MnistUtils.mnistAsStream(String imagesPath,
String labelsPath,
Random rnd,
int cnt)
Read random
count samples from MNIST dataset from two files (images and labels) into a stream of labeled
vectors. |
GridGain In-Memory Computing Platform : ver. 8.9.20 Release Date : April 29 2025