Skip to content

Commit

Permalink
expand on docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
sethah committed Feb 13, 2018
1 parent e448019 commit 3c86317
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/mxnet/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@ def update(self, labels, preds):

class _BinaryClassificationMixin(object):
"""
Private mixin for keeping track of TPR, FPR, TNR, FNR counts for a classification metric.
Private mixin for classification metrics. True/false positive rate and true/false negative
rate are sufficient statistics for various concrete metrics. This class provides the machinery
to track those statistics across mini-batches of (label, prediction) pairs.
"""

def __init__(self):
Expand Down

0 comments on commit 3c86317

Please sign in to comment.