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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Address code review comments * Update notebooks/responsibleaidashboard/responsibleaidashboard-census-classification-model-debugging.ipynb Co-authored-by: Roman Lutz <[email protected]> Co-authored-by: Roman Lutz <[email protected]> Signed-off-by: Gaurav Gupta <[email protected]> * Add regression test for pre-defined cohorts in raiwidgets (#1249) Signed-off-by: Gaurav Gupta <[email protected]> * 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 <[email protected]> * Add basic validationf for cohorts Signed-off-by: Gaurav Gupta <[email protected]> * Add serialized version of cohort config to ResponsibleAiDashboard Signed-off-by: Gaurav Gupta <[email protected]> * Add more tests cohorts Signed-off-by: Gaurav Gupta <[email protected]> * 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 <[email protected]> * Add more cohort filters Signed-off-by: Gaurav Gupta <[email protected]> * Add cohort data to dashboard e2e Signed-off-by: Gaurav Gupta <[email protected]> * Add more cohorts filters Signed-off-by: Gaurav Gupta <[email protected]> * Document various data validation for cohorts Signed-off-by: Gaurav Gupta <[email protected]> * Add new interfaces for pre-built cohort Signed-off-by: Gaurav Gupta <[email protected]> * Add more cohort filters Signed-off-by: Gaurav Gupta <[email protected]> * Add prebuilt cohort walking logic in UI and add more data validation scenarios Signed-off-by: Gaurav Gupta <[email protected]> * Add basic data validation checks Signed-off-by: Gaurav Gupta <[email protected]> * Add logic to translate the Index cohort filter Signed-off-by: Gaurav Gupta <[email protected]> * Remove commented out code Signed-off-by: Gaurav Gupta <[email protected]> * Add SDK validations for Index based cohort filter Signed-off-by: Gaurav Gupta <[email protected]> * Add code for validating classification outcome Signed-off-by: Gaurav Gupta <[email protected]> * Add error filter validations and add tests Signed-off-by: Gaurav Gupta <[email protected]> * Add fake cohorts for regression dataset Signed-off-by: Gaurav Gupta <[email protected]> * Add fake cohorts for multi-class classification dataset Signed-off-by: Gaurav Gupta <[email protected]> * Add handling of regression filter Signed-off-by: Gaurav Gupta <[email protected]> * Add support for classification outcome in UI Signed-off-by: Gaurav Gupta <[email protected]> * Add validations for Predicted Y and True Y cohort filters Signed-off-by: Gaurav Gupta <[email protected]> * Add UI code to handle prediced Y and true Y for pre-built cohort filters Signed-off-by: Gaurav Gupta <[email protected]> * Add cohort validation with test data to raiwidgets Signed-off-by: Gaurav Gupta <[email protected]> * Add tests for validating Predicted/True Y cohorts Signed-off-by: Gaurav Gupta <[email protected]> * Add UI support for TrueY/PredictedY for classification Signed-off-by: Gaurav Gupta <[email protected]> * Rename cohort_filter_list to cohort_list Signed-off-by: Gaurav Gupta <[email protected]> * Rename UI varibles to match SDK Signed-off-by: Gaurav Gupta <[email protected]> * Fix duplicate cohort name Signed-off-by: Gaurav Gupta <[email protected]> * Add SDK cohorts to notebook Signed-off-by: Gaurav Gupta <[email protected]> * Add dataset validations and add categorical features Signed-off-by: Gaurav Gupta <[email protected]> * Add validations for categorical_features Signed-off-by: Gaurav Gupta <[email protected]> * Fix sorted imports Signed-off-by: Gaurav Gupta <[email protected]> * Add code for translating categorical values Signed-off-by: Gaurav Gupta <[email protected]> * Move cohort processing to a separate file Signed-off-by: Gaurav Gupta <[email protected]> * Fix code review comments Signed-off-by: Gaurav Gupta <[email protected]> * Refactor cohort translated function into different small functions Signed-off-by: Gaurav Gupta <[email protected]> * Change to lowercase for outcome Signed-off-by: Gaurav Gupta <[email protected]> * Fix code review comments Signed-off-by: Gaurav Gupta <[email protected]> * Refactor cohort_list validations and converge pytest common functions into fixtures Signed-off-by: Gaurav Gupta <[email protected]> * Add conftest into raiwidgets tests Signed-off-by: Gaurav Gupta <[email protected]> * Add validations for cohort list Signed-off-by: Gaurav Gupta <[email protected]> * Add cohortData test Signed-off-by: Gaurav Gupta <[email protected]> * Fix sorted imports Signed-off-by: Gaurav Gupta <[email protected]> * isort fix Signed-off-by: Gaurav Gupta <[email protected]> * Add UI unit tests for cohort translation Signed-off-by: Gaurav Gupta <[email protected]> * Add more checks in UI uni test Signed-off-by: Gaurav Gupta <[email protected]> * Add UI tests for regression cohorts Signed-off-by: Gaurav Gupta <[email protected]> * REmove notebook change Signed-off-by: Gaurav Gupta <[email protected]> * Fix typescript build Signed-off-by: Gaurav Gupta <[email protected]> * Change cohort filter values so that cohort filters non-zero points Signed-off-by: Gaurav Gupta <[email protected]> * Fix for empty cohort list Signed-off-by: Gaurav Gupta <[email protected]> * 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 <[email protected]> * Address code review comments * Update notebooks/responsibleaidashboard/responsibleaidashboard-census-classification-model-debugging.ipynb Co-authored-by: Roman Lutz <[email protected]> Co-authored-by: Roman Lutz <[email protected]> * Propagate error strings instead of raising exceptions Signed-off-by: Gaurav Gupta <[email protected]> * Fix code issues Signed-off-by: Gaurav Gupta <[email protected]> * Fix code review comments Signed-off-by: Gaurav Gupta <[email protected]> * Fix code review comments Signed-off-by: Gaurav Gupta <[email protected]> Co-authored-by: Ilya Matiach <[email protected]> Co-authored-by: Roman Lutz <[email protected]> * Make _cohort.py module a public module (#1253) * Make _cohort.py a public module Signed-off-by: Gaurav Gupta <[email protected]> * Add missing file Signed-off-by: Gaurav Gupta <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Fix eslint Signed-off-by: Gaurav Gupta <[email protected]> * Address review comments Signed-off-by: Gaurav Gupta <[email protected]> * Reset the number of samples in test dataset Signed-off-by: Gaurav Gupta <[email protected]> Co-authored-by: Ilya Matiach <[email protected]> Co-authored-by: Roman Lutz <[email protected]> Co-authored-by: Bo Zhang <[email protected]>
- Loading branch information