SG++-Doxygen-Documentation
|
The RegularizationFunction class is a baseclass for regularization functions that can be used in conjunction with a proximal solver. More...
#include <RegularizationFunction.hpp>
Public Member Functions | |
virtual double | eval (base::DataVector weights)=0 |
eval evaluates the regularization function for weights. More... | |
virtual base::DataVector | prox (const base::DataVector &weights, double stepsize)=0 |
prox evaluates the proximal operator for the function for weights. More... | |
The RegularizationFunction class is a baseclass for regularization functions that can be used in conjunction with a proximal solver.
|
pure virtual |
eval evaluates the regularization function for weights.
weights |
Implemented in sgpp::solver::GroupLassoFunction, sgpp::solver::ElasticNetFunction, sgpp::solver::LassoFunction, sgpp::solver::RidgeFunction, and sgpp::solver::ZeroFunction.
|
pure virtual |
prox evaluates the proximal operator for the function for weights.
weights | |
stepsize | is the stepsize used for the proximal step |
Implemented in sgpp::solver::GroupLassoFunction, sgpp::solver::ElasticNetFunction, sgpp::solver::LassoFunction, sgpp::solver::RidgeFunction, and sgpp::solver::ZeroFunction.