OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
OpenANN::Regularization Class Reference

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...
 

Detailed Description

Holds all information related to regularization terms in an error function.

Usually we do not penalize biases.

Constructor & Destructor Documentation

OpenANN::Regularization::Regularization ( double  l1Penalty = 0.0,
double  l2Penalty = 0.0,
double  maxSquaredWeightNorm = 0.0 
)
inline

Member Data Documentation

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.


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