tf.contrib.metrics.confusion_matrix(
labels,
predictions,
num_classes=None,
dtype=tf.int32,
name=None,
weights=None
)
Defined in tensorflow/contrib/metrics/python/ops/confusion_matrix_ops.py.
See the guide: Metrics (contrib) > Metric Ops
Deprecated. Use tf.confusion_matrix instead.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/metrics/confusion_matrix