Skip to content

Fix learntools by pinning sklearn #1371

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

Merged
merged 3 commits into from
Mar 14, 2024
Merged
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
19 changes: 10 additions & 9 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ RUN JAXVER=$(pip freeze | grep -e "^jax==") && \
pip install --upgrade \
"matplotlib<3.8.0" \
seaborn \
python-dateutil dask igraph \
python-dateutil dask dask-expr igraph \
pyyaml joblib husl geopy mne pyshp \
pandas \
polars \
Expand Down Expand Up @@ -269,8 +269,6 @@ RUN pip install opencv-contrib-python opencv-python && \
/tmp/clean-layer.sh

RUN pip install scipy \
# b/302136621 Fix eli5 import for learntools
"scikit-learn<1.3" \
# Scikit-learn accelerated library for x86
scikit-learn-intelex>=2023.0.1 \
# HDF5 support
Expand Down Expand Up @@ -318,7 +316,8 @@ RUN pip install mpld3 \
path.py \
Geohash && \
pip install deap \
tpot \
# b/302136621 Fix eli5 import for learntools, newer version require scikit-learn > 1.3
"tpot==0.12.1" \
scikit-optimize \
haversine \
toolz cytoolz \
Expand Down Expand Up @@ -537,19 +536,21 @@ RUN pip install flashtext \
s3fs \
featuretools \
#-e git+https://github.com/SohierDane/BigQuery_Helper#egg=bq_helper \
hpsklearn \
git+https://github.com/Kaggle/learntools \
kmapper \
shap \
ray \
gym \
pyarabic \
pandasql \
# b/302136621 Fix eli5 import for learntools
scikit-learn==1.2.2 \
hpsklearn \
kmapper \
shap \
cesium \
rgf_python \
jieba \
# ggplot is broken and main repo does not merge and release https://github.com/yhat/ggpy/pull/668
https://github.com/hbasria/ggpy/archive/0.11.5.zip \
cesium \
rgf_python \
tsfresh \
pykalman \
optuna \
Expand Down