We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae26ab commit 4781270Copy full SHA for 4781270
tensorflow_addons/metrics/matthews_correlation_coefficient.py
@@ -40,8 +40,8 @@ class MatthewsCorrelationCoefficient(tf.keras.metrics.Metric):
40
prediction. The statistic is also known as
41
the phi coefficient.
42
43
- MCC = (TP * TN) - (FP * FN) /
44
- ((TP + FP) * (TP + FN) * (TN + FP ) * (TN + FN))^(1/2)
+ MCC = (TP * TN - FP * FN) /
+ ((TP + FP) * (TP + FN) * (TN + FP) * (TN + FN))^(1/2)
45
46
Args:
47
num_classes : Number of unique classes in the dataset.
0 commit comments