From 46e80e221641dde1cf9c0bfc95d246b652e434ba Mon Sep 17 00:00:00 2001 From: qnater Date: Wed, 25 Sep 2024 17:14:57 +0200 Subject: [PATCH] correction of the shap explainer and refactoring --- .github/workflows/pytest_shap_explainer.yml | 32 +++++++++++++++++++++ .idea/workspace.xml | 9 +++--- 2 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/pytest_shap_explainer.yml diff --git a/.github/workflows/pytest_shap_explainer.yml b/.github/workflows/pytest_shap_explainer.yml new file mode 100644 index 0000000..d27ff93 --- /dev/null +++ b/.github/workflows/pytest_shap_explainer.yml @@ -0,0 +1,32 @@ + +name: Pytest - ImputeGAP - SHAP - EXPLAINER - 8 + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + lfs: true + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.8' + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install libmlpack-dev + sudo apt-get install libopenblas-dev + pip install -r requirements.txt + pip install mypy + pip install pytest + + - name: Run pytest + run: python -m pytest ./tests/test_explainer.py \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a5fc5c7..7ea6681 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,8 @@ + - - + - @@ -192,7 +191,7 @@ - +