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

Confusion Matrix #1794

Merged
merged 55 commits into from
Jan 12, 2023
Merged

Confusion Matrix #1794

merged 55 commits into from
Jan 12, 2023

Conversation

t-wangjohn
Copy link
Contributor

@t-wangjohn t-wangjohn commented Oct 27, 2022

Confusion Matrix added in model assessment for multiclass and binary classification

Description

binary classification (light mode)
MicrosoftTeams-image

binary classification (dark mode)
MicrosoftTeams-image (1)

multiclass classification (light mode)
MicrosoftTeams-image (2)

multiclass classification (dark mode)
MicrosoftTeams-image (3)

Too few classes selected error (there's another one with at most 20, but I don't have a dataset handy that triggers the error):
MicrosoftTeams-image (4)

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

gaugup and others added 9 commits September 29, 2022 16:27
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
* Add model wrapper for wrapping predictions and test data

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix failing tests

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
…ortance (#1770)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
* Port tests

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix rai_insights

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
* Simply tests in test_cohort_filter.py

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Change test name

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Oct 27, 2022

Codecov Report

Merging #1794 (56c7ab8) into main (902a4ac) will decrease coverage by 2.71%.
The diff coverage is n/a.

❗ Current head 56c7ab8 differs from pull request most recent head 895f595. Consider uploading reports for the commit 895f595 to get more accurate results

@@            Coverage Diff             @@
##             main    #1794      +/-   ##
==========================================
- Coverage   93.35%   90.64%   -2.72%     
==========================================
  Files          93       46      -47     
  Lines        4574     1881    -2693     
==========================================
- Hits         4270     1705    -2565     
+ Misses        304      176     -128     
Flag Coverage Δ
unittests 90.64% <ø> (-2.72%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
responsibleai/responsibleai/_config/__init__.py
responsibleai/responsibleai/_config/base_config.py
...ibleai/_tools/shared/state_directory_management.py
...leai/responsibleai/databalanceanalysis/__init__.py
responsibleai/responsibleai/_internal/__init__.py
...sibleai/responsibleai/rai_insights/rai_insights.py
responsibleai/responsibleai/exceptions.py
...tabalanceanalysis/distribution_balance_measures.py
responsibleai/responsibleai/managers/__init__.py
responsibleai/responsibleai/_internal/constants.py
... and 37 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@t-wangjohn t-wangjohn force-pushed the t-wangjohn/ConfusionMatrix branch from 964e4a6 to 19f6cc3 Compare October 27, 2022 21:53
1 similar comment
@t-wangjohn t-wangjohn requested a review from gaugup October 28, 2022 14:35
@t-wangjohn t-wangjohn self-assigned this Oct 28, 2022
@t-wangjohn t-wangjohn force-pushed the t-wangjohn/ConfusionMatrix branch from 19f6cc3 to 4022cb4 Compare October 28, 2022 16:13
This is done to solve the cyclomatic complexity es-lint issue.
@t-wangjohn t-wangjohn force-pushed the t-wangjohn/ConfusionMatrix branch from 4022cb4 to a362704 Compare November 18, 2022 15:53
@t-wangjohn t-wangjohn requested a review from hawestra as a code owner November 18, 2022 15:53
@t-wangjohn t-wangjohn changed the base branch from postga to main November 18, 2022 20:44
@t-wangjohn t-wangjohn requested a review from kicha0 as a code owner November 18, 2022 20:44
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
@tongyu-microsoft
Copy link
Contributor

Could you confirm that it looks good for large screens?

@romanlutz
Copy link
Contributor

Could you confirm that it looks good for large screens?

Example with very large and very small screen: (matches design)

image

image

2 similar comments
1 similar comment
@romanlutz romanlutz enabled auto-merge (squash) January 12, 2023 05:17
@romanlutz romanlutz disabled auto-merge January 12, 2023 12:10
@romanlutz romanlutz merged commit 1f89e68 into main Jan 12, 2023
@romanlutz romanlutz deleted the t-wangjohn/ConfusionMatrix branch January 12, 2023 12:10
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.

6 participants