From c0e56eddedb850bd38009ac00b60e90d964801ad Mon Sep 17 00:00:00 2001 From: Ilya Matiach Date: Mon, 30 Oct 2023 14:47:21 -0400 Subject: [PATCH] update raiwidgets to rai-core-flask v0.7.0 (#2401) --- .../modelAssessment/datasets/CovidTextExplanationData.ts | 2 +- .../modelAssessment/datasets/DBPediaTextExplanationData.ts | 2 +- raiwidgets/requirements-dev.txt | 2 -- raiwidgets/requirements.txt | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/libs/e2e/src/lib/describer/modelAssessment/datasets/CovidTextExplanationData.ts b/libs/e2e/src/lib/describer/modelAssessment/datasets/CovidTextExplanationData.ts index 3bdd807cc2..3a2474449e 100644 --- a/libs/e2e/src/lib/describer/modelAssessment/datasets/CovidTextExplanationData.ts +++ b/libs/e2e/src/lib/describer/modelAssessment/datasets/CovidTextExplanationData.ts @@ -158,7 +158,7 @@ export const textExplanationData = { ], expectedFeaturesValues: { allFeaturesExpectedValues: 13, - negativeFeaturesExpectedValues: 4, + negativeFeaturesExpectedValues: 5, positiveFeaturesExpectedValues: 13 }, explanationIndex: 0, diff --git a/libs/e2e/src/lib/describer/modelAssessment/datasets/DBPediaTextExplanationData.ts b/libs/e2e/src/lib/describer/modelAssessment/datasets/DBPediaTextExplanationData.ts index 184d5dd41f..6f51a0c078 100644 --- a/libs/e2e/src/lib/describer/modelAssessment/datasets/DBPediaTextExplanationData.ts +++ b/libs/e2e/src/lib/describer/modelAssessment/datasets/DBPediaTextExplanationData.ts @@ -239,7 +239,7 @@ export const textExplanationData = { expectedFeaturesValues: { allFeaturesExpectedValues: 13, negativeFeaturesExpectedValues: 13, - positiveFeaturesExpectedValues: 6 + positiveFeaturesExpectedValues: 10 }, explanationIndex: 13, localExplanations: localExplanationData, diff --git a/raiwidgets/requirements-dev.txt b/raiwidgets/requirements-dev.txt index 39bedbfd5b..908f590820 100644 --- a/raiwidgets/requirements-dev.txt +++ b/raiwidgets/requirements-dev.txt @@ -12,8 +12,6 @@ fairlearn==0.7.0 ml-wrappers>=0.4.0 sktime pmdarima -# temporary fix for gevent error until rai-core-flask updated -shap<0.41.0 # Jupyter dependency that fails with python 3.6 pywinpty==2.0.2; python_version <= '3.6' and sys_platform == 'win32' diff --git a/raiwidgets/requirements.txt b/raiwidgets/requirements.txt index 99a9d5e708..1bbebe6d4a 100644 --- a/raiwidgets/requirements.txt +++ b/raiwidgets/requirements.txt @@ -1,7 +1,7 @@ numpy>=1.17.2,<1.24.0 pandas>=0.25.1,<2.0.0 scipy>=1.4.1 -rai-core-flask==0.6.0 +rai-core-flask==0.7.0 itsdangerous<=2.1.2 scikit-learn>=0.22.1 lightgbm>=2.0.11