NoRegularizer Class Reference

Implementation of the NoRegularizer. More...

Public Member Functions

 NoRegularizer ()
 Create the regularizer object. More...

 
template
<
typename
MatType
>
void Evaluate (const MatType &, MatType &)
 Calculate the gradient for regularization. More...

 

Detailed Description

Implementation of the NoRegularizer.

This does not add any regularization to the weights.

Definition at line 24 of file no_regularizer.hpp.

Constructor & Destructor Documentation

◆ NoRegularizer()

NoRegularizer ( )
inline

Create the regularizer object.

Definition at line 30 of file no_regularizer.hpp.

Member Function Documentation

◆ Evaluate()

void Evaluate ( const MatType &  ,
MatType &   
)
inline

Calculate the gradient for regularization.

Template Parameters
MatTypeType of weight matrix.
Parameters
weightThe weight matrix to be regularized.
gradientThe calculated gradient.

Definition at line 43 of file no_regularizer.hpp.


The documentation for this class was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.2.1/src/mlpack/methods/ann/regularizer/no_regularizer.hpp