Skip to content

Commit

Permalink
Fix small reference error in classification docs (Lightning-AI#1408)
Browse files Browse the repository at this point in the history
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
  • Loading branch information
3 people committed Dec 29, 2022
1 parent b74d1cb commit e919d57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/source/classification/coverage_error.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
:image: https://pl-flash-data.s3.amazonaws.com/assets/thumbnails/tabular_classification.svg
:tags: Classification

.. include:: ../links.rst

##############
Coverage Error
##############
Expand Down
2 changes: 1 addition & 1 deletion docs/source/links.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@
.. _Scale-invariant signal-to-noise ratio: https://arxiv.org/abs/1711.00541
.. _Signal-to-noise ratio: https://arxiv.org/abs/1811.02508
.. _Permutation invariant training: https://arxiv.org/abs/1607.00325
.. _ranking ref1: https://link.springer.com/chapter/10.1007/978-0-387-09823-4_34
.. _Multilabel coverage error: https://link.springer.com/chapter/10.1007/978-0-387-09823-4_34
2 changes: 1 addition & 1 deletion src/torchmetrics/classification/ranking.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


class MultilabelCoverageError(Metric):
"""Computes multilabel coverage error [1]. The score measure how far we need to go through the ranked scores to
"""Computes `Multilabel coverage error`_. The score measure how far we need to go through the ranked scores to
cover all true labels. The best value is equal to the average number of labels in the target tensor per sample.
Accepts the following input tensors:
Expand Down

0 comments on commit e919d57

Please sign in to comment.