Uses of Class
org.tribuo.math.la.DenseMatrix
Package
Description
Provides an implementation of a linear chain CRF trained using Stochastic Gradient Descent.
Provides the base classes for models trained with stochastic gradient descent.
Code for uploading models to Oracle Cloud Infrastructure Data Science, and also for scoring models deployed
in Oracle Cloud Infrastructure Data Science.
Contains the implementation of Tribuo's math library, it's gradient descent optimisers, kernels and a set of
math related utils.
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.classification.sgd.crf
Modifier and TypeFieldDescriptionfinal DenseMatrix
ChainHelper.ChainCliqueValues.transitionValues
The label-label transition matrix. -
Uses of DenseMatrix in org.tribuo.common.sgd
Modifier and TypeMethodDescriptionAbstractFMModel.getLinearWeightsCopy()
Returns a copy of the linear weights.AbstractLinearSGDModel.getWeightsCopy()
Returns a copy of the weights. -
Uses of DenseMatrix in org.tribuo.interop.oci
Modifier and TypeMethodDescriptionprotected DenseMatrix
OCIModel.convertFeatures
(SparseVector sparseVector) protected DenseMatrix
OCIModel.convertFeaturesList
(List<SparseVector> list) protected DenseMatrix
OCIModel.externalPrediction
(DenseMatrix features) Modifier and TypeMethodDescriptionOCILabelConverter.convertOutput
(DenseMatrix scores, int[] numValidFeatures, List<Example<Label>> examples, ImmutableOutputInfo<Label> outputIDInfo) protected List<Prediction<T>>
OCIModel.convertOutput
(DenseMatrix scores, int[] numValidFeatures, List<Example<T>> list) protected Prediction<T>
OCIModel.convertOutput
(DenseMatrix scores, int numValidFeature, Example<T> example) OCIMultiLabelConverter.convertOutput
(DenseMatrix scores, int[] numValidFeatures, List<Example<MultiLabel>> examples, ImmutableOutputInfo<MultiLabel> outputIDInfo) List<Prediction<T>>
OCIOutputConverter.convertOutput
(DenseMatrix scores, int[] numValidFeatures, List<Example<T>> examples, ImmutableOutputInfo<T> outputIDInfo) Converts a dense matrix into a list of predictions of the appropriate type.OCIRegressorConverter.convertOutput
(DenseMatrix scores, int[] numValidFeatures, List<Example<Regressor>> examples, ImmutableOutputInfo<Regressor> outputIDInfo) protected DenseMatrix
OCIModel.externalPrediction
(DenseMatrix features) -
Uses of DenseMatrix in org.tribuo.math
ModifierConstructorDescriptionLinearParameters
(DenseMatrix weightMatrix) Constructs a LinearParameters wrapped around a weight matrix. -
Uses of DenseMatrix in org.tribuo.math.la
Modifier and TypeMethodDescriptionDenseMatrix.copy()
Copies the matrix.static DenseMatrix
DenseMatrix.createDenseMatrix
(double[][] values) Defensively copies the values before construction.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.transpose()
Returns a transposed copy of this matrix. -
Uses of DenseMatrix in org.tribuo.math.optimisers.util
Modifier and TypeClassDescriptionclass
A subclass ofDenseMatrix
which shrinks the value every time a new value is added.ModifierConstructorDescriptionShrinkingMatrix
(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.