ntqr.labels¶
@author: Andrés Corrada-Emmanuel.
Classes¶
Module Contents¶
- class ntqr.labels.Label(label)¶
Bases:
strLabel object to guarantee a label is stringifiable.
- _label¶
- __str__()¶
Return str(self).
- class ntqr.labels.Labels(labels: Iterable[str])¶
Bases:
tupleLabels used in test question responses. The NTQR package assumes that all test questions have the same, fixed, label set. These are a tuple-like object so the user can specify the canonical order of the labels.
The number of labels defines the integer R in the acronym NTQR. Binary classification: R=2 Three label classification: R=3, etc.
- _labels¶