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

add support for multiclass local importance values for text #1601

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

imatiach-msft
Copy link
Contributor

Description

Added support for multiclass local importance value for RAI text scenario.

  • Updated test data to include more samples for test app, and now updated to include multiclass values
  • Refactored TextExplanationDashboard into a separate TextExplanationView class which has the weight vector set
  • Refactored out the class importance picker used in tabular explanation view into its own ClassImportanceWeights component
  • Updated python backend in responsibleai package to support the new importance values

image

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.

@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2022

Codecov Report

Merging #1601 (530e504) into main (93eca66) will increase coverage by 1.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1601      +/-   ##
==========================================
+ Coverage   88.96%   90.00%   +1.03%     
==========================================
  Files         109       38      -71     
  Lines        5381     1640    -3741     
==========================================
- Hits         4787     1476    -3311     
+ Misses        594      164     -430     
Flag Coverage Δ
unittests 90.00% <ø> (+1.03%) ⬆️

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

Impacted Files Coverage Δ
responsibleai/responsibleai/_interfaces.py
...ponsibleai/responsibleai/_managers/base_manager.py
responsibleai/responsibleai/__init__.py
...ponsibleai/responsibleai/_tools/shared/__init__.py
...ai/databalanceanalysis/feature_balance_measures.py
...sponsibleai/responsibleai/rai_insights/__init__.py
...ponsibleai/databalanceanalysis/balance_measures.py
raiwidgets/raiwidgets/error_handling.py
...ponsibleai/responsibleai/rai_insights/constants.py
...nsibleai/databalanceanalysis/data_balance_utils.py
... and 61 more

Help us with your feedback. Take ten seconds to tell us how you rate us.

@imatiach-msft imatiach-msft merged commit 5c7de61 into main Aug 2, 2022
@imatiach-msft imatiach-msft deleted the ilmat/text-importances-backend branch August 2, 2022 19:48
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.

3 participants