Skip to content
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

shap package update #343

Merged
merged 1 commit into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Declare files that will always have LF line endings on checkout.
release/*.sh text eol=lf
tests/*.sh text eol=lf
tests/**/*.sh text eol=lf
.env text eol=lf

data/recommenders/scikitlearn/KNNDatasetRecommender_classifier_accuracy_pmlb.pkl.gz filter=lfs diff=lfs merge=lfs -text
Expand Down
3 changes: 3 additions & 0 deletions docker/machine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ RUN apt-get update --fix-missing && apt-get install -y \
# setup python environment
COPY ${docker_filepath}/requirements.txt /root/
RUN pip install --no-cache-dir -r /root/requirements.txt
COPY ${docker_filepath}/requirements_shap.txt /root/
RUN pip install --no-cache-dir -r /root/requirements_shap.txt


# setup node environment
RUN npm install -g pm2 --silent --progress=false
Expand Down
2 changes: 2 additions & 0 deletions docker/machine/Dockerfile_production
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ RUN apt-get update --fix-missing && apt-get install -y \
# setup python environment
COPY ${docker_filepath}/requirements.txt /root/
RUN pip install --no-cache-dir -r /root/requirements.txt
COPY ${docker_filepath}/requirements_shap.txt /root/
RUN pip install --no-cache-dir -r /root/requirements_shap.txt

# setup node environment
RUN npm install -g pm2 --silent --progress=false
Expand Down
1 change: 0 additions & 1 deletion docker/machine/files/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ mlxtend==0.16.0
pydot==1.4.1
requests==2.22.0
xgboost==0.90
shap==0.37.0
joblib==0.16.0
1 change: 1 addition & 0 deletions docker/machine/files/requirements_shap.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shap==0.37.0
2 changes: 2 additions & 0 deletions tests/unit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ RUN pip install --no-cache-dir -r /root/lab_requirements.txt

COPY /docker/machine/files/requirements.txt /root/mach_requirements.txt
RUN pip install --no-cache-dir -r /root/mach_requirements.txt
COPY /docker/machine/files/requirements_shap.txt /root/mach_requirements_shap.txt
RUN pip install --no-cache-dir -r /root/mach_requirements_shap.txt

# install lab/node_modules to an anon volume
WORKDIR /appsrc/lab
Expand Down