QDpy
Loading...
Searching...
No Matches
scenario_risk.py File Reference

Illuminate mean and lower-tail performance over shared scenarios. More...

Go to the source code of this file.

Classes

class  qdpy.algorithms.scenario_risk.ScenarioRiskStats
 Count attempted scenarios and completed designs separately. More...
class  qdpy.algorithms.scenario_risk.ScenarioRiskAudit
 An independently rescored archive and held-out measurement costs. More...
class  qdpy.algorithms.scenario_risk.ScenarioRiskMAPElites
 Compare designs on the same panel by mean, CVaR, or both. More...

Namespaces

namespace  qdpy

Functions

float qdpy.algorithms.scenario_risk.empirical_cvar (values, tail_fraction, *, maximize=True, probabilities=None)
 Average the worst probability mass of a finite scenario distribution.

Detailed Description

Illuminate mean and lower-tail performance over shared scenarios.

See also
https://sites.math.washington.edu/~rtr/papers/rtr179-CVaR1.pdf

Definition in file scenario_risk.py.

Function Documentation

◆ empirical_cvar()

float qdpy.algorithms.scenario_risk.empirical_cvar ( values,
tail_fraction,
* ,
maximize = True,
probabilities = None )

Average the worst probability mass of a finite scenario distribution.

Parameters
valuesMeasured utilities or costs, one per scenario.
tail_fractionProbability mass of the worst tail, in (0, 1].
maximizeUse the low tail for utility and the high tail for cost.
probabilitiesOptional nonnegative scenario weights.
Returns
Mean tail utility or cost in raw units.
Use fractional mass at the cutoff, including for tied or weighted scenarios.

Definition at line 52 of file scenario_risk.py.