OpenANN
1.1.0
An open source library for artificial neural networks.
|
Holds all information related to regularization terms in an error function. More...
#include <Regularization.h>
Public Member Functions | |
Regularization (double l1Penalty=0.0, double l2Penalty=0.0, double maxSquaredWeightNorm=0.0) | |
Public Attributes | |
double | l1Penalty |
Penalty for absolute weights, encourages sparse weight matrices. More... | |
double | l2Penalty |
Penalty for squared weights. More... | |
double | maxSquaredWeightNorm |
Maximum value for squared norm of the weight vector of a single neuron. More... | |
Holds all information related to regularization terms in an error function.
Usually we do not penalize biases.
|
inline |
double OpenANN::Regularization::l1Penalty |
Penalty for absolute weights, encourages sparse weight matrices.
double OpenANN::Regularization::l2Penalty |
Penalty for squared weights.
double OpenANN::Regularization::maxSquaredWeightNorm |
Maximum value for squared norm of the weight vector of a single neuron.