scikit-learn interface
The following models are implemented in skwdro
Linear Models
Logistic Regression
|
A Wasserstein Distributionally Robust logistic regression classifier. |
Linear Regression
|
A Wasserstein Distributionally Robust linear regression. |
Operations Research
NewsVendor
|
A NewsVendor Wasserstein Distributionally Robust Estimator. |
Portfolio Selection
|
A Wasserstein Distributionally Robust Mean-Risk Portfolio estimator. |
Represents the Mean-Risk Portfolio model.
The stochastic optimisation problem associated with the optimal decision to be taken is

where
and
are the risk aversion parameters, and
is the Conditional Value at Risk relative to the unknown probability distribution
and confidence level
. CVaR is a measure of risk used in financial mathematics. One of the most common definitions for a random variable X governed by a continuous probability distribution is as follows:
![\text{CVaR}_{\alpha}(X) = \mathbb{E}[X | \ X \geq \text{VaR}_{\alpha}(X)]](_images/math/2bae4c3273f2c75d24459d5ef0372da16889bec2.png)
where
is the Value at Risk of order
, which corresponds exactly to the quantile of order
. The CVaR is therefore the average expected value for the portfolio following the returns on investments, given that this value is greater than the Value at Risk.