|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <weights.hxx>
Collaboration diagram for opengm::learning::WeightRegularizer< T >:Public Types | |
| enum | RegularizationType { NoRegularizer =-1, L1Regularizer =1, L2Regularizer =2 } |
Public Member Functions | |
| WeightRegularizer (const int regularizationNorm, const double lambda=1.0) | |
| WeightRegularizer (const RegularizationType regularizationType=L2Regularizer, const double lambda=1.0) | |
| double | lambda () const |
| RegularizationType | regularizationType () const |
| int | regularizerNorm () const |
| double | evaluate (const Weights< T > &weights) |
Definition at line 88 of file weights.hxx.
| enum opengm::learning::WeightRegularizer::RegularizationType |
| Enumerator | |
|---|---|
| NoRegularizer | |
| L1Regularizer | |
| L2Regularizer | |
Definition at line 90 of file weights.hxx.
|
inline |
Definition at line 96 of file weights.hxx.
|
inline |
Definition at line 112 of file weights.hxx.
|
inline |
|
inline |
Definition at line 118 of file weights.hxx.
|
inline |
Definition at line 122 of file weights.hxx.
|
inline |
Definition at line 126 of file weights.hxx.
1.8.12