Uses of Class
org.tribuo.math.la.DenseMatrix
Packages that use DenseMatrix
Package
Description
Contains the implementation of Tribuo's math library, it's gradient descent optimisers, kernels and a set of
math related utils.
A package of statistical distributions.
Provides a linear algebra system used for numerical operations in Tribuo.
Provides some utility tensors for use in gradient optimisers.
-
Uses of DenseMatrix in org.tribuo.math
Methods in org.tribuo.math that return DenseMatrixConstructors in org.tribuo.math with parameters of type DenseMatrixModifierConstructorDescriptionLinearParameters(DenseMatrix weightMatrix) Constructs a LinearParameters wrapped around a weight matrix. -
Uses of DenseMatrix in org.tribuo.math.distributions
Constructors in org.tribuo.math.distributions with parameters of type DenseMatrixModifierConstructorDescriptionMultivariateNormalDistribution(DenseVector means, DenseMatrix covariance, long seed) Constructs a multivariate normal distribution that can be sampled from.MultivariateNormalDistribution(DenseVector means, DenseMatrix covariance, long seed, boolean eigenDecomposition) Constructs a multivariate normal distribution that can be sampled from. -
Uses of DenseMatrix in org.tribuo.math.la
Methods in org.tribuo.math.la that return DenseMatrixModifier and TypeMethodDescriptionDenseMatrix.add(DenseMatrix other) Addsotherto this matrix, producing a newDenseMatrix.DenseMatrix.copy()Copies the matrix.static DenseMatrixDenseMatrix.createDenseMatrix(double[][] values) Defensively copies the values before construction.static DenseMatrixDenseMatrix.createDenseMatrix(SGDVector[] vectors) Constructs a new DenseMatrix copying the values from the supplied vectors.static DenseMatrixDenseMatrix.createIdentity(int dimension) Creates an identity matrix of the specified size.static DenseMatrixDenseMatrix.deserializeFromProto(int version, String className, com.google.protobuf.Any message) Deserialization factory.DenseMatrix.EigenDecomposition.eigenvectors()The eigenvectors for each eigenvalue, stored in the columns of the matrix.DenseMatrix.EigenDecomposition.householderMatrix()The Householder matrix produced during the tridiagonalisation.DenseMatrix.CholeskyFactorization.lMatrix()The lower triangular factorized matrix.DenseMatrix.LUFactorization.lower()The lower triangular matrix, with ones on the diagonal.DenseMatrix.matrixMultiply(Matrix other) DenseMatrix.matrixMultiply(Matrix other, boolean transposeThis, boolean transposeOther) DenseSparseMatrix.matrixMultiply(Matrix other) DenseSparseMatrix.matrixMultiply(Matrix other, boolean transposeThis, boolean transposeOther) DenseMatrix.selectColumns(int[] columnIndices) Returns a new DenseMatrix containing a copy of the selected columns.DenseMatrix.selectColumns(List<Integer> columnIndices) Returns a new DenseMatrix containing a copy of the selected columns.Solves the system A * X = B, where B is the input matrix, and A is the matrix which produced this Cholesky factorization.Solves the system A * X = Y, where Y is the input matrix, and A is the matrix which produced this eigen decomposition.Solves the system A * X = Y, where Y is the input matrix, and A is the matrix which produced this LU factorization.DenseMatrix.transpose()Returns a transposed copy of this matrix.protected static DenseMatrixDenseMatrix.unpackProto(org.tribuo.math.protos.DenseTensorProto proto) Unpacks aDenseTensorProtointo aDenseMatrix.DenseMatrix.LUFactorization.upper()The upper triangular matrix.Methods in org.tribuo.math.la with parameters of type DenseMatrixModifier and TypeMethodDescriptionDenseMatrix.add(DenseMatrix other) Addsotherto this matrix, producing a newDenseMatrix.Constructors in org.tribuo.math.la with parameters of type DenseMatrix -
Uses of DenseMatrix in org.tribuo.math.optimisers.util
Subclasses of DenseMatrix in org.tribuo.math.optimisers.utilModifier and TypeClassDescriptionclassA subclass ofDenseMatrixwhich shrinks the value every time a new value is added.Methods in org.tribuo.math.optimisers.util that return DenseMatrixConstructors in org.tribuo.math.optimisers.util with parameters of type DenseMatrixModifierConstructorDescriptionShrinkingMatrix(DenseMatrix v, double baseRate, boolean scaleShrinking) Constructs a shrinking matrix copy of the supplied dense matrix.ShrinkingMatrix(DenseMatrix v, double baseRate, double lambda) Constructs a shrinking matrix copy of the supplied dense matrix.