![]() |
SG++-Doxygen-Documentation
|
The LassoFunction class. More...
#include <LassoFunction.hpp>
Public Member Functions | |
double | eval (base::DataVector weights) override |
eval evaluates the regularization function for weights. | |
LassoFunction (double lambda) | |
LassoFunction. | |
base::DataVector | prox (const base::DataVector &weights, double stepsize) override |
prox evaluates the proximal operator for the function for weights. | |
~LassoFunction () override | |
![]() | |
virtual | ~RegularizationFunction () |
The LassoFunction class.
This class models the standard lasso regularization penalty \( \Vert \boldsymbol{\alpha} \Vert_1 \).
|
inlineexplicit |
|
inlineoverride |
|
inlineoverridevirtual |
eval evaluates the regularization function for weights.
weights |
Implements sgpp::solver::RegularizationFunction.
References sgpp::base::DataVector::abs(), and sgpp::base::DataVector::sum().
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity().
|
inlineoverridevirtual |
prox evaluates the proximal operator for the function for weights.
weights | |
stepsize | is the stepsize used for the proximal step |
Implements sgpp::solver::RegularizationFunction.
References sgpp::base::DataVector::getSize().
Referenced by sgpp::solver::ElasticNetFunction::prox().