skfolio.measures.ulcer_index#

skfolio.measures.ulcer_index(drawdowns)[source]#

Compute the Ulcer index.

Parameters:
drawdownsndarray of shape (n_observations,)

Vector of drawdowns.

Returns:
valuefloat

Ulcer index.