iaa_od.models.c_score
Classes
|
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:
objectRepresents 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]
-
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]