tensorflow / tensorflow/tensorboard
WHAT-IF TOOL displays wrong confusion matrix
Open
@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;

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;

what could be the cause of this issue?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.