Searched refs:true_positives (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/keras/ |
D | metrics.py | 1144 self.true_positives = self.add_weight( 1169 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives, 1180 result = math_ops.div_no_nan(self.true_positives, 1181 self.true_positives + self.false_positives) 1270 self.true_positives = self.add_weight( 1295 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives, 1306 result = math_ops.div_no_nan(self.true_positives, 1307 self.true_positives + self.false_negatives) 1338 self.true_positives = self.add_weight( 1378 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives, [all …]
|
D | metrics_confusion_matrix_test.py | 478 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives)) 485 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives)) 492 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives)) 503 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives)) 510 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives)) 521 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives)) 682 self.assertAlmostEqual(1, self.evaluate(r_obj.true_positives)) 689 self.assertAlmostEqual(1, self.evaluate(r_obj.true_positives)) 696 self.assertAlmostEqual(1, self.evaluate(r_obj.true_positives)) 707 self.assertAlmostEqual(1, self.evaluate(r_obj.true_positives)) [all …]
|
D | metrics_test.py | 1763 self.true_positives = self.add_weight(name='tp', initializer='zeros') 1777 self.true_positives.assign_add(math_ops.reduce_sum(values)) 1780 return self.true_positives 1885 self.assertEqual(self.evaluate(p_obj.true_positives), 50.) 1888 self.assertEqual(self.evaluate(p_obj.true_positives), 50.) 1897 self.assertEqual(self.evaluate(r_obj.true_positives), 50.) 1900 self.assertEqual(self.evaluate(r_obj.true_positives), 50.) 1913 self.assertEqual(self.evaluate(s_obj.true_positives), 25.) 1928 self.assertEqual(self.evaluate(s_obj.true_positives), 25.) 1943 self.assertEqual(self.evaluate(auc_obj.true_positives[1]), 25.)
|
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
D | metric_ops.py | 85 return metrics.true_positives( 659 true_p, true_positives_update_op = metrics.true_positives( 787 true_positives = metrics_impl.metric_variable( 793 update_ops['tp'] = state_ops.assign_add(true_positives, 796 values['tp'] = true_positives 1099 true_positives = array_ops.gather( 1121 y_axis_values = math_ops.truediv(true_positives, total_positive) 1123 x_axis_values = math_ops.truediv(true_positives, total_positive) 1131 math_ops.truediv(true_positives, positives), 1132 array_ops.ones_like(true_positives, dtype=dtypes.float64))
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.metrics.pbtxt | 128 name: "true_positives"
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
D | metrics_v1_test.py | 331 return metrics.true_positives(labels, predictions)
|
/external/tensorflow/tensorflow/python/ops/ |
D | metrics_impl.py | 1820 def true_positives(labels, function 1990 true_p, true_positives_update_op = true_positives( 2163 true_p, true_positives_update_op = true_positives(
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | metrics_test.py | 4451 metrics.true_positives( 4466 tn, tn_update_op = metrics.true_positives( 4486 tn, tn_update_op = metrics.true_positives(
|