ntqr.labels
===========

.. py:module:: ntqr.labels

.. autoapi-nested-parse::

   @author: Andrés Corrada-Emmanuel.



Classes
-------

.. autoapisummary::

   ntqr.labels.Label
   ntqr.labels.Labels


Module Contents
---------------

.. py:class:: Label(label)

   Bases: :py:obj:`str`


   Label object to guarantee a label is stringifiable.



   .. py:attribute:: _label


   .. py:method:: __str__()

      Return str(self).



.. py:class:: Labels(labels: Iterable[str])

   Bases: :py:obj:`tuple`


   Labels 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.


   .. py:attribute:: _labels


