OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Regularization.h
Go to the documentation of this file.
1 #ifndef OPENANN_REGULARIZATION_H_
2 #define OPENANN_REGULARIZATION_H_
3 
4 namespace OpenANN
5 {
6 
15 {
16 public:
18  double l1Penalty;
20  double l2Penalty;
23 
24  Regularization(double l1Penalty = 0.0, double l2Penalty = 0.0,
25  double maxSquaredWeightNorm = 0.0)
28  {
29  }
30 };
31 
32 } // namespace OpenANN
33 
34 #endif // OPENANN_REGULARIZATION_H_