responsible-ai-toolbox icon indicating copy to clipboard operation
responsible-ai-toolbox copied to clipboard

Display outlier in aggregate feature importance box chart

Open tongyu-microsoft opened this issue 3 years ago • 3 comments

This PR adds outliers in aggregate feature importance box chart. We manually calculated the offset for outliers from different cohorts.

Description

if cohort count is 6 (even case): image

if cohort count is 7 (odd case): image

API Reference: http://api.highcharts.com/highcharts/pl ... oupPadding http://api.highcharts.com/highcharts/pl ... tPlacement

Areas changed

npm packages changed:

  • [ ] responsibleai/causality
  • [x] responsibleai/core-ui
  • [ ] responsibleai/counterfactuals
  • [ ] responsibleai/dataset-explorer
  • [ ] responsibleai/fairness
  • [ ] responsibleai/interpret
  • [ ] responsibleai/localization
  • [ ] responsibleai/mlchartlib
  • [ ] responsibleai/model-assessment

Python packages changed:

  • [ ] erroranalysis
  • [ ] raiutils
  • [ ] raiwidgets
  • [ ] rai_core_flask
  • [ ] responsibleai

Tests

  • [ ] No new tests required.
  • [ ] New tests for the added feature are part of this PR.
  • [ ] I validated the changes manually.

Screenshots (if appropriate):

Documentation:

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.

tongyu-microsoft avatar Apr 21 '22 00:04 tongyu-microsoft

Codecov Report

Merging #1365 (338e080) into main (859204a) will increase coverage by 3.64%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1365      +/-   ##
==========================================
+ Coverage   86.30%   89.94%   +3.64%     
==========================================
  Files         100       80      -20     
  Lines        4702     3461    -1241     
==========================================
- Hits         4058     3113     -945     
+ Misses        644      348     -296     
Flag Coverage Δ
unittests 89.94% <ø> (+3.64%) :arrow_up:

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

Impacted Files Coverage Δ
raiwidgets/raiwidgets/explanation_constants.py
raiwidgets/raiwidgets/error_handling.py
...iwidgets/raiwidgets/explanation_dashboard_input.py
...iwidgets/raiwidgets/fairness_metric_calculation.py
raiwidgets/raiwidgets/utils.py
...iwidgets/raiwidgets/model_performance_dashboard.py
...idgets/raiwidgets/responsibleai_dashboard_input.py
raiwidgets/raiwidgets/interfaces.py
raiwidgets/raiwidgets/constants.py
raiwidgets/raiwidgets/error_analysis_constants.py
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 859204a...338e080. Read the comment docs.

codecov-commenter avatar Apr 21 '22 01:04 codecov-commenter

https://responsibleai.blob.core.windows.net/pullrequest/microsoft/responsible-ai-toolbox/tongy/addOutlier/dashboard/index.html

github-actions[bot] avatar Apr 21 '22 01:04 github-actions[bot]

https://responsibleai.blob.core.windows.net/pullrequest/microsoft/responsible-ai-toolbox/tongy/addOutlier/dashboard/index.html

github-actions[bot] avatar Apr 21 '22 01:04 github-actions[bot]