iaa_od.models.c_score

Classes

CScore(*, c_score[, per_unit_c_scores])

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

class iaa_od.models.c_score.CScore(*, c_score, per_unit_c_scores=<factory>)[source]

Bases: object

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

c_score

The computed C-Score value.

Type:

float

per_unit_c_scores

A dictionary mapping unit IDs to their respective C-Score values.

Type:

dict[int, float]

brief()[source]
Return type:

str

c_score: float
c_score_for_unit(unit_id)[source]

Retrieves the C-Score for a specific unit.

Parameters:

unit_id (int) – The ID of the unit to retrieve the C-Score for.

Returns:

The C-Score value for the specified unit, or None if not available.

Return type:

float

per_unit_c_scores: dict[int, float]