Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pre-built cohort into adult census notebook (#1243)
* [WIP] Add pre-built cohort into adult census notebook Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * erroranalysis version bump in raiwidgets to 0.1.31 (#1245) * Make cohrtData empty list in case no pre-bdefined cohorts are injected (#1247) Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Simplify the train pipeline responsibleaidashboard-census-classification-model-debugging.ipynb (#1195) * Simplify the train pipeline responsibleaidashboard-census-classification-model-debugging.ipynb Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Address code review comments * Update notebooks/responsibleaidashboard/responsibleaidashboard-census-classification-model-debugging.ipynb Co-authored-by: Roman Lutz <romanlutz13@gmail.com> Co-authored-by: Roman Lutz <romanlutz13@gmail.com> Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add regression test for pre-defined cohorts in raiwidgets (#1249) Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * color (#1248) * Add feature importance box & bar chart (#1241) * refactor * build * build * temp * temp * temp * temp * box * cache * e2e * e2e * fix * e2e fix * e2e * fix e2e * widget * widget * fix * widget * e2e * e2e * e2e * test * test * PreBuilt cohorts UX changes (#1242) * Intial SDK implementation cohorts Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add basic validationf for cohorts Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add serialized version of cohort config to ResponsibleAiDashboard Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add more tests cohorts Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * fix broken builds due to pip upgrade which broke pip-tools (#1185) * refactor matrix filter and area state to be private static (#1179) * Change variable name Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add more cohort filters Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add cohort data to dashboard e2e Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add more cohorts filters Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Document various data validation for cohorts Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add new interfaces for pre-built cohort Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add more cohort filters Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add prebuilt cohort walking logic in UI and add more data validation scenarios Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add basic data validation checks Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add logic to translate the Index cohort filter Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Remove commented out code Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add SDK validations for Index based cohort filter Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add code for validating classification outcome Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add error filter validations and add tests Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add fake cohorts for regression dataset Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add fake cohorts for multi-class classification dataset Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add handling of regression filter Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add support for classification outcome in UI Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add validations for Predicted Y and True Y cohort filters Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add UI code to handle prediced Y and true Y for pre-built cohort filters Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add cohort validation with test data to raiwidgets Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add tests for validating Predicted/True Y cohorts Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add UI support for TrueY/PredictedY for classification Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Rename cohort_filter_list to cohort_list Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Rename UI varibles to match SDK Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix duplicate cohort name Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add SDK cohorts to notebook Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add dataset validations and add categorical features Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add validations for categorical_features Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix sorted imports Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add code for translating categorical values Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Move cohort processing to a separate file Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix code review comments Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Refactor cohort translated function into different small functions Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Change to lowercase for outcome Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix code review comments Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Refactor cohort_list validations and converge pytest common functions into fixtures Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add conftest into raiwidgets tests Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add validations for cohort list Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add cohortData test Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix sorted imports Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * isort fix Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add UI unit tests for cohort translation Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add more checks in UI uni test Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add UI tests for regression cohorts Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * REmove notebook change Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix typescript build Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Change cohort filter values so that cohort filters non-zero points Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix for empty cohort list Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Simplify the train pipeline responsibleaidashboard-census-classification-model-debugging.ipynb (#1195) * Simplify the train pipeline responsibleaidashboard-census-classification-model-debugging.ipynb Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Address code review comments * Update notebooks/responsibleaidashboard/responsibleaidashboard-census-classification-model-debugging.ipynb Co-authored-by: Roman Lutz <romanlutz13@gmail.com> Co-authored-by: Roman Lutz <romanlutz13@gmail.com> * Propagate error strings instead of raising exceptions Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix code issues Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix code review comments Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix code review comments Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> Co-authored-by: Ilya Matiach <ilmat@microsoft.com> Co-authored-by: Roman Lutz <romanlutz13@gmail.com> * Make _cohort.py module a public module (#1253) * Make _cohort.py a public module Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Add missing file Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * fix notebook build failures due to pywinpty dependency release failing in python 3.6 (#1257) * fix notebook build failures due to pywinpty dependency release failing in python 3.6 * build pywinpty from conda instead * add lowerbound * fixup * fixup * Add supported models and data types to README.md responsibleai (#1259) Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * make getting-started notebook a markdown file showing APIs (#1223) * refactor tabs out of RAI dashboard into a separate component (#1256) * Add individual causal scatter chart (#1258) * temp * refactor * test * style fix * comment * minor fix to url for responsibleai package in setup.py (#1260) * Fix UX e2e tests and address code review comments Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Fix eslint Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Address review comments Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> * Reset the number of samples in test dataset Signed-off-by: Gaurav Gupta <gaugup@microsoft.com> Co-authored-by: Ilya Matiach <ilmat@microsoft.com> Co-authored-by: Roman Lutz <romanlutz13@gmail.com> Co-authored-by: Bo Zhang <71688188+zhb000@users.noreply.github.com>
- Loading branch information