parameters: (self)
return_statement: return m
docstring: Returns a list of (prefix, metric) pairs.
docstring_summary: Returns a list of (prefix, metric) pairs.
docstring_tokens: Returns a list of ( prefix metric ) pairs .
function: def metrics(self):
      """Returns a list of (prefix, metric) pairs."""
      m = []
      for metric in six.itervalues(self._metrics):
        m.append(("", metric))
      for prefix, evaluator in six.iteritems(self._evaluators):
        m += [(prefix + "/" + p, m) for p, m in evaluator.metrics]
      return m
function_tokens: def metrics ( self ) : m = [ ] for metric in six . itervalues ( self . _metrics ) : m . append ( ( "" , metric ) ) for prefix , evaluator in six . iteritems ( self . _evaluators ) : m += [ ( prefix + "/" + p , m ) for p , m in evaluator . metrics ] return m