.. customcarditem::
   :header: Theil's U
   :image: https://pl-flash-data.s3.amazonaws.com/assets/thumbnails/tabular_classification.svg
   :tags: Nominal

.. include:: ../links.rst

#########
Theil's U
#########

Module Interface
________________

.. autoclass:: torchmetrics.nominal.TheilsU
    :exclude-members: update, compute

Functional Interface
____________________

.. autofunction:: torchmetrics.functional.nominal.theils_u

theils_u_matrix
^^^^^^^^^^^^^^^

.. autofunction:: torchmetrics.functional.nominal.theils_u_matrix
