@@ -555,11 +555,10 @@ Confusion matrix
555
555
----------------
556
556
557
557
The :func: `confusion_matrix ` function evaluates
558
- classification accuracy by computing the confusion matrix
559
- with each row corresponding to the true class
560
- <https://en.wikipedia.org/wiki/Confusion_matrix>`_.
561
- (Wikipedia and other references may use different convention for axes.)
562
-
558
+ classification accuracy by computing the `confusion matrix
559
+ <https://en.wikipedia.org/wiki/Confusion_matrix> `_ with each row corresponding
560
+ to the true class (Wikipedia and other references may use different convention
561
+ for axes).
563
562
564
563
By definition, entry :math: `i, j` in a confusion matrix is
565
564
the number of observations actually in group :math: `i`, but
@@ -1699,7 +1698,7 @@ Discounted Cumulative Gain (DCG) and Normalized Discounted Cumulative Gain
1699
1698
(NDCG) are ranking metrics; they compare a predicted order to ground-truth
1700
1699
scores, such as the relevance of answers to a query.
1701
1700
1702
- from the Wikipedia page for Discounted Cumulative Gain:
1701
+ From the Wikipedia page for Discounted Cumulative Gain:
1703
1702
1704
1703
"Discounted cumulative gain (DCG) is a measure of ranking quality. In
1705
1704
information retrieval, it is often used to measure effectiveness of web search
@@ -1735,8 +1734,8 @@ and the NDCG score is the DCG score divided by the DCG score obtained for
1735
1734
1736
1735
.. topic :: References:
1737
1736
1738
- * Wikipedia entry for Discounted Cumulative Gain:
1739
- https://en.wikipedia.org/wiki/Discounted_cumulative_gain
1737
+ * ` Wikipedia entry for Discounted Cumulative Gain
1738
+ < https://en.wikipedia.org/wiki/Discounted_cumulative_gain> `_
1740
1739
1741
1740
* Jarvelin, K., & Kekalainen, J. (2002).
1742
1741
Cumulated gain-based evaluation of IR techniques. ACM Transactions on
0 commit comments