You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/07/23 17:26:10 UTC
[GitHub] eric-haibin-lin closed pull request #11852: Update examples for MCC
eric-haibin-lin closed pull request #11852: Update examples for MCC
URL: https://github.com/apache/incubator-mxnet/pull/11852
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/python/mxnet/metric.py b/python/mxnet/metric.py
index aa378cae509..80ea26b5f36 100644
--- a/python/mxnet/metric.py
+++ b/python/mxnet/metric.py
@@ -720,7 +720,7 @@ class MCC(EvalMetric):
Examples
--------
- In this example the network almost always predicts positive
+ >>> # In this example the network almost always predicts positive
>>> false_positives = 1000
>>> false_negatives = 1
>>> true_positives = 10000
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services