Metric
======

.. currentmodule:: pykeen.metrics

.. autoclass:: Metric
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Metric.binarize
      ~Metric.closed_expectation
      ~Metric.closed_variance
      ~Metric.key
      ~Metric.supports_weights
      ~Metric.synonyms

   .. rubric:: Methods Summary

   .. autosummary::

      ~Metric.extra_repr
      ~Metric.get_description
      ~Metric.get_link
      ~Metric.get_range
      ~Metric.iter_extra_repr

   .. rubric:: Attributes Documentation

   .. autoattribute:: binarize
   .. autoattribute:: closed_expectation
   .. autoattribute:: closed_variance
   .. autoattribute:: key
   .. autoattribute:: supports_weights
   .. autoattribute:: synonyms

   .. rubric:: Methods Documentation

   .. automethod:: extra_repr
   .. automethod:: get_description
   .. automethod:: get_link
   .. automethod:: get_range
   .. automethod:: iter_extra_repr
