Package | Description |
---|---|
org.apache.ignite.ml.math |
Contains main APIs for matrix/vector algebra.
|
org.apache.ignite.ml.math.distances |
Contains main APIs for distances.
|
org.apache.ignite.ml.math.exceptions |
Contains exceptions for distributed code algebra.
|
Modifier and Type | Method and Description |
---|---|
static void |
Blas.checkCardinality(Matrix a,
Vector v)
Checks if Matrix A can be multiplied by vector v, if not CardinalityException is thrown.
|
Modifier and Type | Method and Description |
---|---|
double |
EuclideanDistance.compute(Vector a,
double[] b)
Compute the distance between n-dimensional vector and n-dimensional array.
|
double |
HammingDistance.compute(Vector a,
double[] b)
Compute the distance between n-dimensional vector and n-dimensional array.
|
double |
ManhattanDistance.compute(Vector a,
double[] b)
Compute the distance between n-dimensional vector and n-dimensional array.
|
double |
DistanceMeasure.compute(Vector a,
double[] b)
Compute the distance between n-dimensional vector and n-dimensional array.
|
double |
EuclideanDistance.compute(Vector a,
Vector b)
Compute the distance between two n-dimensional vectors.
|
double |
HammingDistance.compute(Vector a,
Vector b)
Compute the distance between two n-dimensional vectors.
|
double |
ManhattanDistance.compute(Vector a,
Vector b)
Compute the distance between two n-dimensional vectors.
|
double |
DistanceMeasure.compute(Vector a,
Vector b)
Compute the distance between two n-dimensional vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
NonSquareMatrixException
Indicates that given matrix is not a square matrix.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019