Skylark (Sketching Library)
0.1
|
#include <FunctionProx.hpp>
Public Member Functions | |
virtual double | evaluate (LocalDenseMatrixType &W) |
virtual void | proxoperator (LocalDenseMatrixType &W, double lambda, LocalDenseMatrixType &mu, LocalDenseMatrixType &P) |
double | soft_threshold (double x, double lambda) |
Definition at line 93 of file FunctionProx.hpp.
double l1::evaluate | ( | LocalDenseMatrixType & | W | ) | [virtual] |
Implements regularization.
Definition at line 520 of file FunctionProx.hpp.
void l1::proxoperator | ( | LocalDenseMatrixType & | W, |
double | lambda, | ||
LocalDenseMatrixType & | mu, | ||
LocalDenseMatrixType & | P | ||
) | [virtual] |
Implements regularization.
Definition at line 536 of file FunctionProx.hpp.
References soft_threshold().
double l1::soft_threshold | ( | double | x, |
double | lambda | ||
) |
Definition at line 525 of file FunctionProx.hpp.
Referenced by proxoperator().