tensorflow / tensorflow/tensorboard

WHAT-IF TOOL displays wrong confusion matrix

Open
#5,524 1 comment 0 reactions 1 assignee View on GitHub

@sanatmpa1 is already working on this.

Since Jan 24, 2022.

stat:awaiting response type:support
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

Version info:
TensorBoard 2.6.0
TensorFlow 2.6.2
Python 2.7

Issue description:
I analyzed my model in What-If Tool. A view of the confusion matrix shows the correct True Negative and False negative but the True Positive and False Positive are interchanged. see below picture;
image

However, i used the custom-predict-function with the same model and dataset to debug the issue and it displayed the correct Confusion matrix as stated below;
image
what could be the cause of this issue?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.