Package | Description |
---|---|
org.tribuo.classification.sgd.crf |
Provides an implementation of a linear chain CRF trained using Stochastic Gradient Descent.
|
org.tribuo.common.sgd |
Provides the base classes for models trained with stochastic gradient descent.
|
org.tribuo.math |
Contains the implementation of Tribuo's math library, it's gradient descent optimisers, kernels and a set of
math related utils.
|
org.tribuo.math.la |
Provides a linear algebra system used for numerical operations in Tribuo.
|
org.tribuo.math.optimisers.util |
Provides some utility tensors for use in gradient optimisers.
|
Modifier and Type | Field and Description |
---|---|
DenseMatrix |
ChainHelper.ChainCliqueValues.transitionValues |
Modifier and Type | Method and Description |
---|---|
DenseMatrix |
AbstractLinearSGDModel.getWeightsCopy()
Returns a copy of the weights.
|
Modifier and Type | Method and Description |
---|---|
DenseMatrix |
LinearParameters.getWeightMatrix()
Returns the weight matrix.
|
Constructor and Description |
---|
LinearParameters(DenseMatrix weightMatrix)
Constructs a LinearParameters wrapped around a weight matrix.
|
Modifier and Type | Method and Description |
---|---|
DenseMatrix |
DenseMatrix.copy()
Copies the matrix.
|
static DenseMatrix |
DenseMatrix.createDenseMatrix(double[][] values)
Defensively copies the values before construction.
|
DenseMatrix |
DenseSparseMatrix.matrixMultiply(Matrix other) |
DenseMatrix |
DenseMatrix.matrixMultiply(Matrix other) |
DenseMatrix |
DenseSparseMatrix.matrixMultiply(Matrix other,
boolean transposeThis,
boolean transposeOther) |
DenseMatrix |
DenseMatrix.matrixMultiply(Matrix other,
boolean transposeThis,
boolean transposeOther) |
DenseMatrix |
DenseMatrix.transpose()
Returns a transposed copy of this matrix.
|
Constructor and Description |
---|
DenseMatrix(DenseMatrix other)
Copies the supplied matrix.
|
Modifier and Type | Class and Description |
---|---|
class |
ShrinkingMatrix
A subclass of
DenseMatrix which shrinks the value every time a new value is added. |
Modifier and Type | Method and Description |
---|---|
DenseMatrix |
ShrinkingMatrix.convertToDense() |
Constructor and Description |
---|
ShrinkingMatrix(DenseMatrix v,
double baseRate,
boolean scaleShrinking) |
ShrinkingMatrix(DenseMatrix v,
double baseRate,
double lambda) |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.