Shortcuts

VariationRatio

class torch_uncertainty.metrics.classification.VariationRatio(probabilistic=True, reduction='mean', **kwargs)[source]
compute()[source]

Computes the variation ratio which amounts to the proportion of predicted class labels which are not the chosen class.

Returns:

Mean disagreement between estimators.

Return type:

Tensor