ScoreClassifMode#

class scio.utils.ScoreClassifMode(value)[source]#

Bases: str, EnumWithExplicitSupport

Enum for supported mode in classification scores.

The mode describes an optional per-sample postprocess applied to the conformity output of a classification score’s get_conformity().

Member

Value

Description

DIFF

'diff'

Compute the additional preference to the highest other conformity. Only maximum conformities remain nonnegative.

RATIO

'ratio'

Multiplicative analogue of DIFF. Should only be used with nonnegative conformities.

RAW

'raw'

No postprocessing.