Home
last modified time | relevance | path

Searched refs:num_thresholds (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dmetrics.py862 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 …]
Dmetrics_confusion_matrix_test.py734 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 …]
Dmetrics_test.py1904 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/
Dclassification_test.py128 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 …]
Dclassification.py70 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/
Dmetric_ops.py744 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 …]
Dmetric_ops_large_test.py45 labels=labels, predictions=predictions, num_thresholds=201)
Dmetric_ops_test.py1625 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/
Dmetrics_impl.py531 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/
Dmetrics_utils.py303 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/
Dtensorflow.metrics.pbtxt9 …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…
Dtensorflow.keras.metrics.-specificity-at-sensitivity.pbtxt91 …argspec: "args=[\'self\', \'sensitivity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
Dtensorflow.keras.metrics.-sensitivity-at-specificity.pbtxt91 …argspec: "args=[\'self\', \'specificity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
Dtensorflow.keras.metrics.-a-u-c.pbtxt90 …argspec: "args=[\'self\', \'num_thresholds\', \'curve\', \'summation_method\', \'name\', \'dtype\'…
/external/tensorflow/tensorflow/contrib/distribute/python/
Dmetrics_v1_test.py225 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/
Dtensorflow.keras.metrics.-sensitivity-at-specificity.pbtxt91 …argspec: "args=[\'self\', \'specificity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
Dtensorflow.metrics.-sensitivity-at-specificity.pbtxt91 …argspec: "args=[\'self\', \'specificity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
Dtensorflow.keras.metrics.-specificity-at-sensitivity.pbtxt91 …argspec: "args=[\'self\', \'sensitivity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
Dtensorflow.metrics.-specificity-at-sensitivity.pbtxt91 …argspec: "args=[\'self\', \'sensitivity\', \'num_thresholds\', \'name\', \'dtype\'], varargs=None,…
Dtensorflow.keras.metrics.-a-u-c.pbtxt90 …argspec: "args=[\'self\', \'num_thresholds\', \'curve\', \'summation_method\', \'name\', \'dtype\'…
Dtensorflow.metrics.-a-u-c.pbtxt90 …argspec: "args=[\'self\', \'num_thresholds\', \'curve\', \'summation_method\', \'name\', \'dtype\'…
/external/tensorflow/tensorflow/python/kernel_tests/
Dmetrics_test.py1396 num_thresholds=500,
/external/tensorflow/
DRELEASE.md736 streaming precision and recall with `O(num_thresholds + size of predictions)`