mlpack
|
Implementation of the NoRegularizer. More...
#include <no_regularizer.hpp>
Public Member Functions | |
NoRegularizer () | |
Create the regularizer object. | |
template<typename MatType > | |
void | Evaluate (const MatType &, MatType &) |
Calculate the gradient for regularization. More... | |
Implementation of the NoRegularizer.
This does not add any regularization to the weights.
|
inline |
Calculate the gradient for regularization.
MatType | Type of weight matrix. |
* | (weight) The weight matrix to be regularized. |
* | (gradient) The calculated gradient. |