OpenANN
1.1.0
An open source library for artificial neural networks.
Main Page
Classes
Files
List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
OpenANN
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
14
class
Regularization
15
{
16
public
:
18
double
l1Penalty
;
20
double
l2Penalty
;
22
double
maxSquaredWeightNorm
;
23
24
Regularization
(
double
l1Penalty
= 0.0,
double
l2Penalty
= 0.0,
25
double
maxSquaredWeightNorm
= 0.0)
26
:
l1Penalty
(
l1Penalty
),
l2Penalty
(
l2Penalty
),
27
maxSquaredWeightNorm
(
maxSquaredWeightNorm
)
28
{
29
}
30
};
31
32
}
// namespace OpenANN
33
34
#endif // OPENANN_REGULARIZATION_H_
Generated on Wed Jul 9 2014 08:57:52 for OpenANN by
1.8.4