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

Replace dependence plot with highchart lib #1208

Merged
merged 24 commits into from
Feb 10, 2022
Merged

Replace dependence plot with highchart lib #1208

merged 24 commits into from
Feb 10, 2022

Conversation

zhb000
Copy link
Contributor

@zhb000 zhb000 commented Feb 9, 2022

Replace dependence plot from feature importance dashboard with highchart lib

Areas changed

npm packages changed:

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

Python packages changed:

  • raiwidgets
  • responsibleai
  • erroranalysis
  • rai_core_flask

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.

@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2022

Codecov Report

Merging #1208 (78e3dff) into main (1bbe14c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1208   +/-   ##
=======================================
  Coverage   67.09%   67.09%           
=======================================
  Files          91       91           
  Lines        4379     4379           
=======================================
  Hits         2938     2938           
  Misses       1441     1441           
Flag Coverage Δ
unittests 67.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 1bbe14c...78e3dff. Read the comment docs.

@@ -29,6 +29,8 @@ export * from "./lib/util/generateRoute";
export * from "./lib/util/getRandomId";
export * from "./lib/util/getCohortFilterCount";
export * from "./lib/util/getTreatmentBarChartOptions";
export * from "./lib/util/getDependencyChartOptions";
export * from "./lib/util/getDependencyChartOptions";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getDependencyChartOptions imported twice here?

}
},
yAxis: {
labels: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe refactor out the common xAxis and yAxis properties to a method?

} : ${this.props.selectedWeightLabel}`;
return (
<div className={classNames.DependencePlot}>
<div className={classNames.chartWithAxes}>
Copy link
Contributor

@imatiach-msft imatiach-msft Feb 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think about replacing the div with stack from FluentUI?

1 similar comment
1 similar comment
@zhb000 zhb000 merged commit 17c8105 into main Feb 10, 2022
@zhb000 zhb000 deleted the zhb/FeatureImportance branch February 10, 2022 23:14
gaugup pushed a commit that referenced this pull request Feb 27, 2022
* temp

* test

* temp

* refactor

* tooltip

* cache

* tooltip template

* remove dup

* e2e

* test

* test

* e2e

* test

* remove animation

* test

* fix
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