Uses of Interface
org.tribuo.math.la.Matrix
Package
Description
Provides a linear algebra system used for numerical operations in Tribuo.
Provides some utility tensors for use in gradient optimisers.
-
Uses of Matrix in org.tribuo.math.la
Modifier and TypeClassDescriptionclass
A dense matrix, backed by a primitive array.class
A matrix which is dense in the first dimension and sparse in the second.Modifier and TypeMethodDescriptionMatrix.copy()
Copies the matrix.Matrix.matrixMultiply
(Matrix input) Multiplies this Matrix by anotherMatrix
returning a matrix of the appropriate size.Matrix.matrixMultiply
(Matrix input, boolean transposeThis, boolean transposeOther) Multiplies this Matrix by anotherMatrix
returning a matrix of the appropriate size.Generates the matrix representing the outer product between the two vectors.This generates the outer product when dotted with anotherSparseVector
.Modifier and TypeMethodDescriptionDenseMatrix.matrixMultiply
(Matrix other) DenseMatrix.matrixMultiply
(Matrix other, boolean transposeThis, boolean transposeOther) DenseSparseMatrix.matrixMultiply
(Matrix other) DenseSparseMatrix.matrixMultiply
(Matrix other, boolean transposeThis, boolean transposeOther) Matrix.matrixMultiply
(Matrix input) Multiplies this Matrix by anotherMatrix
returning a matrix of the appropriate size.Matrix.matrixMultiply
(Matrix input, boolean transposeThis, boolean transposeOther) Multiplies this Matrix by anotherMatrix
returning a matrix of the appropriate size.ModifierConstructorDescriptionDenseMatrix
(Matrix other) Copies the supplied matrix, densifying it if it's sparse. -
Uses of Matrix in org.tribuo.math.onnx
Modifier and TypeMethodDescriptionstatic ONNXInitializer
ONNXMathUtils.floatMatrix
(ONNXContext context, String name, Matrix matrix, boolean transpose) Builds aONNXInitializer
containing theMatrix
. -
Uses of Matrix in org.tribuo.math.optimisers.util
Modifier and TypeClassDescriptionclass
A subclass ofDenseMatrix
which shrinks the value every time a new value is added.