MCPcopy Create free account
hub / github.com/alibaba/nann / np_auc

Method np_auc

tensorflow/tensorflow/python/kernel_tests/metrics_test.py:1359–1384  ·  view source on GitHub ↗

Computes the AUC explicitly using Numpy. Args: predictions: an ndarray with shape [N]. labels: an ndarray with shape [N]. weights: an ndarray with shape [N]. Returns: the area under the ROC curve.

(self, predictions, labels, weights)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 3

onesMethod · 0.80
sizeMethod · 0.45
sumMethod · 0.45

Tested by

no test coverage detected