示例#1
0
def _auc(probs, targets, weights=None):
    return metric_ops.streaming_auc(array_ops.slice(probs, [0, 1], [-1, 1]),
                                    targets,
                                    weights=weights)
示例#2
0
def _streaming_auc(predictions, labels, weights=None):
  return metric_ops.streaming_auc(
      predictions, labels, weights=_float_weights_or_none(weights))
示例#3
0
def _streaming_auc(predictions, labels, weights=None):
    return metric_ops.streaming_auc(predictions,
                                    labels,
                                    weights=_float_weights_or_none(weights))
示例#4
0
def _auc(probs, targets, weights=None):
  return metric_ops.streaming_auc(array_ops.slice(probs, [0, 1], [-1, 1]),
                                  targets, weights=weights)