|OrthogonalRegularizer (double factor=1.0)|
|Create the regularizer object. More...|
|void||Evaluate (const MatType &weight, MatType &gradient)|
|Calculate the gradient for regularization. More...|
|void||serialize (Archive &ar, const uint32_t)|
|Serialize the regularizer (nothing to do). More...|
|The constant for the regularization. More...|
Implementation of the OrthogonalRegularizer.
Orthogonality of weights is a desirable property because multiplication by an orthogonal matrix leaves the norm of the matrix unchanged. The orthogonal regularization technique encourages weights to be orthogonal.
For more information, see the following.
|OrthogonalRegularizer||(||double||factor = ||)|
Create the regularizer object.
|factor||The factor for regularization.|
|void Evaluate||(||const MatType &||weight,|
Calculate the gradient for regularization.
|MatType||Type of weight matrix.|
|weight||The weight matrix to be regularized.|
|gradient||The calculated gradient.|
|void serialize||(||Archive &||ar,|
Serialize the regularizer (nothing to do).