-
Notifications
You must be signed in to change notification settings - Fork 383
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
Refactor metric computation in ModelOverview #1850
Conversation
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ModelOverview.tsx
Outdated
Show resolved
Hide resolved
libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ModelOverview.tsx
Outdated
Show resolved
Hide resolved
...sessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ModelOverviewChartPivot.tsx
Outdated
Show resolved
Hide resolved
1 similar comment
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
Codecov Report
@@ Coverage Diff @@
## main #1850 +/- ##
=======================================
Coverage 93.35% 93.35%
=======================================
Files 93 93
Lines 4574 4574
=======================================
Hits 4270 4270
Misses 304 304
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ModelOverview.tsx
Outdated
Show resolved
Hide resolved
libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ModelOverview.tsx
Outdated
Show resolved
Hide resolved
1 similar comment
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ModelOverview.tsx
Outdated
Show resolved
Hide resolved
libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ModelOverview.tsx
Show resolved
Hide resolved
libs/model-assessment/src/lib/ModelAssessmentDashboard/Controls/ModelOverview/ModelOverview.tsx
Show resolved
Hide resolved
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
1 similar comment
The link https://responsibleai.blob.core.windows.net/pullrequest/microsoft/responsible-ai-toolbox/gaugup/RefactorModelOverForMetricComputation/dashboard/index.html doesn't work for me. I don't see the issue locally. I don't change any logic around cohort selection as such. Not sure why you would see this issue. |
The That said, after checking out your branch locally this particular issue isn't reproducing for me either. We should really have better test coverage so that we don't have to worry as much about these things breaking 😢 |
Description
The idea behind the PR is to perform the metric computation once and propagate the computation into the individual
ModelOverview
components for use. This PR moves the metric computation as a state inModelOverview
as well.Checklist