Home
last modified time | relevance | path

Searched refs:true_positives (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dmetrics.py1283 self.true_positives = self.add_weight(
1308 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives,
1319 result = math_ops.div_no_nan(self.true_positives,
1320 self.true_positives + self.false_positives)
1408 self.true_positives = self.add_weight(
1433 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives,
1444 result = math_ops.div_no_nan(self.true_positives,
1445 self.true_positives + self.false_negatives)
1476 self.true_positives = self.add_weight(
1516 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives,
[all …]
Dmetrics_test.py1940 self.true_positives = self.add_weight(name='tp', initializer='zeros')
1954 self.true_positives.assign_add(math_ops.reduce_sum(values))
1957 return self.true_positives
1964 self.true_positives = self.add_weight(name='tp', initializer='zeros')
1974 self.true_positives.assign_add(1)
1976 self.true_positives.assign_add(sample_weight[i][0])
1980 return self.true_positives
2176 self.assertEqual(self.evaluate(p_obj.true_positives), 50.)
2179 self.assertEqual(self.evaluate(p_obj.true_positives), 50.)
2188 self.assertEqual(self.evaluate(r_obj.true_positives), 50.)
[all …]
Dmetrics_confusion_matrix_test.py481 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives))
488 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives))
495 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives))
506 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives))
513 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives))
524 self.assertAlmostEqual(1, self.evaluate(p_obj.true_positives))
685 self.assertAlmostEqual(1, self.evaluate(r_obj.true_positives))
692 self.assertAlmostEqual(1, self.evaluate(r_obj.true_positives))
699 self.assertAlmostEqual(1, self.evaluate(r_obj.true_positives))
710 self.assertAlmostEqual(1, self.evaluate(r_obj.true_positives))
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.metrics.pbtxt128 name: "true_positives"
/external/tensorflow/tensorflow/python/distribute/
Dmetrics_v1_test.py335 return metrics.true_positives(labels, predictions)
/external/tensorflow/tensorflow/python/ops/
Dmetrics_impl.py1848 def true_positives(labels, function
2018 true_p, true_positives_update_op = true_positives(
2191 true_p, true_positives_update_op = true_positives(
/external/tensorflow/tensorflow/python/kernel_tests/
Dmetrics_test.py4508 metrics.true_positives(
4523 tn, tn_update_op = metrics.true_positives(
4543 tn, tn_update_op = metrics.true_positives(