Searched refs:ConfusionMatrix (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/keras/utils/ |
D | metrics_utils.py | 160 class ConfusionMatrix(Enum): class 268 key for key in variables_to_update if key in list(ConfusionMatrix)): 273 list(ConfusionMatrix), variables_to_update.keys())) 276 key for key in variables_to_update if key not in list(ConfusionMatrix) 281 invalid_keys, list(ConfusionMatrix))) 343 ConfusionMatrix.TRUE_POSITIVES: (label_is_pos, pred_is_pos), 345 update_tn = ConfusionMatrix.TRUE_NEGATIVES in variables_to_update 346 update_fp = ConfusionMatrix.FALSE_POSITIVES in variables_to_update 347 update_fn = ConfusionMatrix.FALSE_NEGATIVES in variables_to_update 351 loop_vars[ConfusionMatrix.FALSE_NEGATIVES] = (label_is_pos, pred_is_neg) [all …]
|
/external/tensorflow/tensorflow/python/keras/ |
D | metrics.py | 916 confusion_matrix_cond=metrics_utils.ConfusionMatrix.FALSE_POSITIVES, 966 confusion_matrix_cond=metrics_utils.ConfusionMatrix.FALSE_NEGATIVES, 1016 confusion_matrix_cond=metrics_utils.ConfusionMatrix.TRUE_NEGATIVES, 1066 confusion_matrix_cond=metrics_utils.ConfusionMatrix.TRUE_POSITIVES, 1169 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives, 1170 metrics_utils.ConfusionMatrix.FALSE_POSITIVES: self.false_positives 1295 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives, 1296 metrics_utils.ConfusionMatrix.FALSE_NEGATIVES: self.false_negatives 1378 metrics_utils.ConfusionMatrix.TRUE_POSITIVES: self.true_positives, 1379 metrics_utils.ConfusionMatrix.TRUE_NEGATIVES: self.true_negatives, [all …]
|