/external/tensorflow/tensorflow/python/keras/ |
D | metrics.py | 862 num_thresholds = len(to_list(self.thresholds)) 864 [(v, np.zeros((num_thresholds,))) for v in self.variables]) 1185 num_thresholds = len(to_list(self.thresholds)) 1187 [(v, np.zeros((num_thresholds,))) for v in self.variables]) 1311 num_thresholds = len(to_list(self.thresholds)) 1313 [(v, np.zeros((num_thresholds,))) for v in self.variables]) 1333 def __init__(self, value, num_thresholds=200, name=None, dtype=None): argument 1335 if num_thresholds <= 0: 1340 shape=(num_thresholds,), 1344 shape=(num_thresholds,), [all …]
|
D | metrics_confusion_matrix_test.py | 734 0.4, num_thresholds=100, name='sensitivity_at_specificity_1') 738 self.assertEqual(s_obj.num_thresholds, 100) 745 self.assertEqual(s_obj2.num_thresholds, 100) 822 metrics.SensitivityAtSpecificity(0.4, num_thresholds=-1) 830 0.4, num_thresholds=100, name='specificity_at_sensitivity_1') 834 self.assertEqual(s_obj.num_thresholds, 100) 841 self.assertEqual(s_obj2.num_thresholds, 100) 918 metrics.SpecificityAtSensitivity(0.4, num_thresholds=-1) 925 self.num_thresholds = 3 953 num_thresholds=100, [all …]
|
D | metrics_test.py | 1904 s_obj = metrics.SensitivityAtSpecificity(0.5, num_thresholds=1) 1919 s_obj = metrics.SpecificityAtSensitivity(0.5, num_thresholds=1) 1934 auc_obj = metrics.AUC(num_thresholds=3)
|
/external/tensorflow/tensorflow/contrib/metrics/python/metrics/ |
D | classification_test.py | 128 num_thresholds=3) 144 num_thresholds=3, 153 num_thresholds=3, 162 f1, f1_op = classification.f1_score(predictions, labels, num_thresholds=3) 182 f1, f1_op = classification.f1_score(predictions, labels, num_thresholds=3) 193 f1, f1_op = classification.f1_score(predictions, labels, num_thresholds=1) 207 f1, f1_op = classification.f1_score(predictions, labels, num_thresholds=3) 224 num_thresholds=3) 238 num_thresholds=3) 248 f1, f1_op = classification.f1_score(predictions, labels, num_thresholds=3) [all …]
|
D | classification.py | 70 def f1_score(labels, predictions, weights=None, num_thresholds=200, argument 151 thresholds = [(i + 1) * 1.0 / (num_thresholds - 1) 152 for i in range(num_thresholds - 2)]
|
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
D | metric_ops.py | 744 num_thresholds = len(thresholds) 763 array_ops.tile(array_ops.transpose(predictions_2d), [num_thresholds, 1]), 769 label_is_pos = array_ops.tile(labels_2d, [num_thresholds, 1]) 777 array_ops.reshape(broadcast_weights, [1, -1]), [num_thresholds, 1]) 788 [num_thresholds], dtypes.float32, name='true_positives') 800 [num_thresholds], dtypes.float32, name='false_negatives') 812 [num_thresholds], dtypes.float32, name='true_negatives') 824 [num_thresholds], dtypes.float32, name='false_positives') 876 num_thresholds=200, argument 936 (i + 1) * 1.0 / (num_thresholds - 1) for i in range(num_thresholds - 2) [all …]
|
D | metric_ops_large_test.py | 45 labels=labels, predictions=predictions, num_thresholds=201)
|
D | metric_ops_test.py | 1625 num_thresholds=3, 1911 num_thresholds=500, 2463 num_thresholds=3)) 3472 num_thresholds = 11 3486 num_thresholds=num_thresholds,
|
/external/tensorflow/tensorflow/python/ops/ |
D | metrics_impl.py | 531 num_thresholds = len(thresholds) 550 array_ops.tile(array_ops.transpose(predictions_2d), [num_thresholds, 1]), 556 label_is_pos = array_ops.tile(labels_2d, [num_thresholds, 1]) 564 array_ops.reshape(weights, [1, -1]), [num_thresholds, 1]) 575 [num_thresholds], dtypes.float32, name='true_positives') 587 [num_thresholds], dtypes.float32, name='false_negatives') 599 [num_thresholds], dtypes.float32, name='true_negatives') 611 [num_thresholds], dtypes.float32, name='false_positives') 633 num_thresholds=200, argument 718 (i + 1) * 1.0 / (num_thresholds - 1) for i in range(num_thresholds - 2) [all …]
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | metrics_utils.py | 303 num_thresholds = len(thresholds) 317 preds_tiled = array_ops.tile(predictions_2d, [num_thresholds, 1]) 323 label_is_pos = array_ops.tile(labels_2d, [num_thresholds, 1]) 329 array_ops.reshape(weights, [1, -1]), [num_thresholds, 1])
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.metrics.pbtxt | 9 …argspec: "args=[\'labels\', \'predictions\', \'weights\', \'num_thresholds\', \'metrics_collection… 105 …argspec: "args=[\'labels\', \'predictions\', \'specificity\', \'weights\', \'num_thresholds\', \'m… 117 …argspec: "args=[\'labels\', \'predictions\', \'sensitivity\', \'weights\', \'num_thresholds\', \'m…
|
D | tensorflow.keras.metrics.-specificity-at-sensitivity.pbtxt | 91 …argspec: "args=[\'self\', \'sensitivity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
|
D | tensorflow.keras.metrics.-sensitivity-at-specificity.pbtxt | 91 …argspec: "args=[\'self\', \'specificity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
|
D | tensorflow.keras.metrics.-a-u-c.pbtxt | 90 …argspec: "args=[\'self\', \'num_thresholds\', \'curve\', \'summation_method\', \'name\', \'dtype\'…
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
D | metrics_v1_test.py | 225 return metrics.auc(labels, predictions, num_thresholds=8, curve="ROC", 239 return metrics.auc(labels, predictions, num_thresholds=8, curve="PR",
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.metrics.-sensitivity-at-specificity.pbtxt | 91 …argspec: "args=[\'self\', \'specificity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
|
D | tensorflow.metrics.-sensitivity-at-specificity.pbtxt | 91 …argspec: "args=[\'self\', \'specificity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
|
D | tensorflow.keras.metrics.-specificity-at-sensitivity.pbtxt | 91 …argspec: "args=[\'self\', \'sensitivity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
|
D | tensorflow.metrics.-specificity-at-sensitivity.pbtxt | 91 …argspec: "args=[\'self\', \'sensitivity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
|
D | tensorflow.keras.metrics.-a-u-c.pbtxt | 90 …argspec: "args=[\'self\', \'num_thresholds\', \'curve\', \'summation_method\', \'name\', \'dtype\'…
|
D | tensorflow.metrics.-a-u-c.pbtxt | 90 …argspec: "args=[\'self\', \'num_thresholds\', \'curve\', \'summation_method\', \'name\', \'dtype\'…
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | metrics_test.py | 1396 num_thresholds=500,
|
/external/tensorflow/ |
D | RELEASE.md | 736 streaming precision and recall with `O(num_thresholds + size of predictions)`
|