|
ROL
|
Provides an interface for the conditioanl entropic risk using the expectation risk quadrangle. More...
#include <ROL_LogQuantileQuadrangle.hpp>
Public Member Functions | |
| LogQuantileQuadrangle (Real alpha, Real rate, Real eps, ROL::Ptr< PlusFunction< Real > > &pf) | |
| Constructor. | |
| LogQuantileQuadrangle (ROL::ParameterList &parlist) | |
| Constructor. | |
| Real | error (Real x, int deriv=0) |
| Evaluate the scalar error function at x. | |
| Real | regret (Real x, int deriv=0) |
| Evaluate the scalar regret function at x. | |
| void | check (void) |
| Run default derivative tests for the scalar regret function. | |
| Public Member Functions inherited from ROL::ExpectationQuad< Real > | |
| virtual | ~ExpectationQuad (void) |
| ExpectationQuad (void) | |
Private Member Functions | |
| void | parseParameterList (ROL::ParameterList &parlist) |
| void | checkInputs (void) const |
Private Attributes | |
| ROL::Ptr< PlusFunction< Real > > | pf_ |
| Real | alpha_ |
| Real | rate_ |
| Real | eps_ |
Provides an interface for the conditioanl entropic risk using the expectation risk quadrangle.
This class defines the conditional entropic risk measure using the framework of the expectation risk quadrangle. In this case, the scalar regret function is
\[ v(x) = \lambda(\exp\left(\frac{x}{\lambda}\right)-1)_+ - \alpha (-x)_+ \]
for \(\lambda > 0\) and \(0 \le \alpha < 1\). The entropic risk measure is then implemented as
\[ \mathcal{R}(X) = \inf_{t\in\mathbb{R}}\left\{ t + \mathbb{E}[v(X-t)] \right\}. \]
The conditional entropic risk is convex, translation equivariant and monotonic. ROL implements this by augmenting the optimization vector \(x_0\) with the parameter \(t\), then minimizes jointly for \((x_0,t)\).
Definition at line 42 of file ROL_LogQuantileQuadrangle.hpp.
|
inline |
Constructor.
| [in] | alpha | is the scale parameter for the negative branch of the scalar regret |
| [in] | rate | is the rate parameter for the positive branch of the scalar regret |
| [in] | eps | is the smoothing parameter for the approximate plus function |
| [in] | pf | is the plus function or an approximation |
Definition at line 94 of file ROL_LogQuantileQuadrangle.hpp.
References alpha_, checkInputs(), eps_, ROL::ExpectationQuad< Real >::ExpectationQuad(), pf_, and rate_.
|
inline |
Constructor.
| [in] | parlist | is a parameter list specifying inputs |
parlist should contain sublists "SOL"->"Risk Measures"->"Log-Quantile Quadrangle" and withing the "Log-Quantile Quadrangle" sublist should have
Definition at line 111 of file ROL_LogQuantileQuadrangle.hpp.
References checkInputs(), ROL::ExpectationQuad< Real >::ExpectationQuad(), and parseParameterList().
|
inlineprivate |
Definition at line 51 of file ROL_LogQuantileQuadrangle.hpp.
References alpha_, eps_, pf_, and rate_.
Referenced by LogQuantileQuadrangle().
|
inlineprivate |
Definition at line 74 of file ROL_LogQuantileQuadrangle.hpp.
References alpha_, eps_, pf_, rate_, and zero.
Referenced by LogQuantileQuadrangle(), and LogQuantileQuadrangle().
|
inlinevirtual |
Evaluate the scalar error function at x.
| [in] | x | is the scalar input |
| [in] | deriv | is the derivative order |
This function returns \(e(x)\) or a derivative of \(e(x)\).
Reimplemented from ROL::ExpectationQuad< Real >.
Definition at line 117 of file ROL_LogQuantileQuadrangle.hpp.
|
inlinevirtual |
Evaluate the scalar regret function at x.
| [in] | x | is the scalar input |
| [in] | deriv | is the derivative order |
This function returns \(v(x)\) or a derivative of \(v(x)\).
Implements ROL::ExpectationQuad< Real >.
Definition at line 128 of file ROL_LogQuantileQuadrangle.hpp.
|
inlinevirtual |
Run default derivative tests for the scalar regret function.
Reimplemented from ROL::ExpectationQuad< Real >.
Definition at line 144 of file ROL_LogQuantileQuadrangle.hpp.
References ROL::ExpectationQuad< Real >::check(), eps_, regret(), and zero.
|
private |
Definition at line 45 of file ROL_LogQuantileQuadrangle.hpp.
Referenced by checkInputs(), LogQuantileQuadrangle(), parseParameterList(), and regret().
|
private |
Definition at line 47 of file ROL_LogQuantileQuadrangle.hpp.
Referenced by checkInputs(), LogQuantileQuadrangle(), parseParameterList(), and regret().
|
private |
Definition at line 48 of file ROL_LogQuantileQuadrangle.hpp.
Referenced by checkInputs(), LogQuantileQuadrangle(), parseParameterList(), and regret().
|
private |
Definition at line 49 of file ROL_LogQuantileQuadrangle.hpp.
Referenced by check(), checkInputs(), LogQuantileQuadrangle(), and parseParameterList().