Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9a19995

Browse filesBrowse files
DOC Added references to the Matthews correlation coefficient function in the user guide (#19958)
Co-authored-by: adrinjalali <adrin.jalali@gmail.com>
1 parent a605b00 commit 9a19995
Copy full SHA for 9a19995

File tree

1 file changed

+8
-0
lines changed
Filter options

1 file changed

+8
-0
lines changed

‎doc/modules/model_evaluation.rst

Copy file name to clipboardExpand all lines: doc/modules/model_evaluation.rst
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,6 +1267,7 @@ When there are more than two labels, the value of the MCC will no longer range
12671267
between -1 and +1. Instead the minimum value will be somewhere between -1 and 0
12681268
depending on the number and distribution of ground true labels. The maximum
12691269
value is always +1.
1270+
For additional information, see [WikipediaMCC2021]_.
12701271

12711272
Here is a small example illustrating the usage of the :func:`matthews_corrcoef`
12721273
function:
@@ -1277,6 +1278,13 @@ function:
12771278
>>> matthews_corrcoef(y_true, y_pred)
12781279
-0.33...
12791280

1281+
.. topic:: References:
1282+
1283+
.. [WikipediaMCC2021] Wikipedia contributors. Phi coefficient.
1284+
Wikipedia, The Free Encyclopedia. April 21, 2021, 12:21 CEST.
1285+
Available at: https://en.wikipedia.org/wiki/Phi_coefficient
1286+
Accessed April 21, 2021.
1287+
12801288
.. _multilabel_confusion_matrix:
12811289

12821290
Multi-label confusion matrix

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.