mlpack  3.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
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 ( )
inline

Create the regularizer object.

Definition at line 30 of file no_regularizer.hpp.

Member Function Documentation

void Evaluate ( const MatType &  ,
MatType &   
)
inline

Calculate the gradient for regularization.

Template Parameters
MatTypeType of weight matrix.
Parameters
*(weight) The weight matrix to be regularized.
*(gradient) The calculated gradient.

Definition at line 43 of file no_regularizer.hpp.


The documentation for this class was generated from the following file: