|
ROL
|
Provides an interface for the entropic risk. More...
#include <ROL_EntropicRisk.hpp>
Public Member Functions | |
| EntropicRisk (const Real coeff=1) | |
| Constructor. | |
| EntropicRisk (ROL::ParameterList &parlist) | |
| Constructor. | |
| void | updateValue (Objective< Real > &obj, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol) |
| Real | getValue (const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler) |
| void | updateGradient (Objective< Real > &obj, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol) |
| void | getGradient (Vector< Real > &g, std::vector< Real > &gstat, const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler) |
| void | updateHessVec (Objective< Real > &obj, const Vector< Real > &v, const std::vector< Real > &vstat, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol) |
| void | getHessVec (Vector< Real > &hv, std::vector< Real > &hvstat, const Vector< Real > &v, const std::vector< Real > &vstat, const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler) |
Private Member Functions | |
| void | checkInputs (void) const |
Private Attributes | |
| Real | coeff_ |
Provides an interface for the entropic risk.
The entropic risk measure (also called the exponential utility and the log-exponential risk measure) is
\[ \mathcal{R}(X) = \lambda \log\mathbb{E}\left[\exp\left(\frac{X}{\lambda}\right)\right] \]
for \(\lambda > 0\). The entropic risk is convex, translation equivariant and monotonic.
Definition at line 32 of file ROL_EntropicRisk.hpp.
|
inline |
Constructor.
| [in] | coeff | is the scale parameter \(\lambda\) |
Definition at line 61 of file ROL_EntropicRisk.hpp.
References checkInputs(), and coeff_.
|
inline |
Constructor.
| [in] | parlist | is a parameter list specifying inputs |
parlist should contain sublists "SOL"->"Risk Measures"->"Entropic Risk" and withing the "Entropic Risk" sublist should have
Definition at line 74 of file ROL_EntropicRisk.hpp.
References checkInputs(), and coeff_.
|
inlineprivate |
Definition at line 50 of file ROL_EntropicRisk.hpp.
Referenced by EntropicRisk(), and EntropicRisk().
|
inline |
Definition at line 82 of file ROL_EntropicRisk.hpp.
References coeff_.
|
inline |
Definition at line 90 of file ROL_EntropicRisk.hpp.
References coeff_, and ROL::SampleGenerator< Real >::sumAll().
|
inline |
Definition at line 98 of file ROL_EntropicRisk.hpp.
References coeff_.
|
inline |
Definition at line 109 of file ROL_EntropicRisk.hpp.
References ROL::Vector< Real >::scale(), and ROL::SampleGenerator< Real >::sumAll().
|
inline |
Definition at line 120 of file ROL_EntropicRisk.hpp.
References coeff_.
|
inline |
Definition at line 137 of file ROL_EntropicRisk.hpp.
References ROL::Vector< Real >::axpy(), coeff_, ROL::Vector< Real >::scale(), and ROL::SampleGenerator< Real >::sumAll().
|
private |
Definition at line 34 of file ROL_EntropicRisk.hpp.
Referenced by checkInputs(), EntropicRisk(), EntropicRisk(), getHessVec(), getValue(), updateGradient(), updateHessVec(), and updateValue().