Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emmanuel confusion matrix #833

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

tomasoignons
Copy link
Collaborator

This pull request add a confusion matrix to the testing page

image
image

The confusion matrix has been made so that it works with multiple class classfication, and not only binary classification.

This pull request modify the Validator class in the discoJS library, in order to retrieve

  • If the element was correctly predicted
  • The prediction
  • the original label of the element

Added the feature in the library and in the webapp so that when we test from the webapp, it return the predicted element, and if it was correct or no
This commit add
- the fact that the validator return you the correct prediction
- the confusion matrix (for the moment, with the labels as numbers, and whithout light mode) in the test page statistics
- the confusion matrix is extendable (it works not only for boolean, but also for multi classification)
- Move the confusion matrix into her own space
- Add dark mode support for the confusion matrix
- Add the labels as the title of the confusion matrix, instead of "1" or "2" (the labels have to be predicted at least once)
@JulienVig
Copy link
Collaborator

Hi @tomasoignons! Thanks for the PR! I'm super busy these days so I can maybe review it next week.
Could you add a screenshot of how it looks like for MNIST? (when there are more categories)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants