iaa_od.models.l_score

Classes

LScore(*, l_score[, agr_i_values])

Represents the L-Score metric for inter-annotator agreement.

class iaa_od.models.l_score.LScore(*, l_score, agr_i_values=<factory>, mismatched_percentage, exclude_mismatched)[source]

Bases: object

Represents the L-Score metric for inter-annotator agreement.

l_score

The computed L-Score value.

Type:

float

agr_i_values

Dictionary mapping the number of annotators per unit to the respective percentage of total units with that number of annotators.

Type:

dict[int, float]

mismatched_percentage

Percentage of mismatched annotations.

Type:

float

exclude_mismatched

Whether mismatched annotations were excluded from the calculation.

Type:

bool

agr_i_values: dict[int, float]
exclude_mismatched: bool
l_score: float
mismatched_percentage: float