Skip to content

Commit 9cbafa5

Browse files
committed
Remove unused/unmaintained packages
Packages unused on Kaggle in the last 365 days: - pytagcloud - lasagne - pybrain - mplleaflet - Baker - sacred - heamy - terminalplot - kmeans-smote - pyahocorasick - conx Packages with official unmaintained/deprecation notice on GitHub (and unused): - neon - nolearn - bcolz Removed duplicated install command: - nibabel
1 parent b963157 commit 9cbafa5

File tree

1 file changed

+5
-32
lines changed

1 file changed

+5
-32
lines changed

Dockerfile

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN conda config --add channels conda-forge && \
5252

5353
# The anaconda base image includes outdated versions of these packages. Update them to include the latest version.
5454
RUN pip install seaborn python-dateutil dask && \
55-
pip install pyyaml joblib pytagcloud husl geopy ml_metrics mne pyshp && \
55+
pip install pyyaml joblib husl geopy ml_metrics mne pyshp && \
5656
pip install pandas && \
5757
# Install h2o from source.
5858
# Use `conda install -c h2oai h2o` once Python 3.7 version is released to conda.
@@ -86,21 +86,12 @@ RUN apt-get install -y libfreetype6-dev && \
8686
pip install xgboost && \
8787
# Pinned to match GPU version. Update version together.
8888
pip install lightgbm==2.3.1 && \
89-
pip install git+git://github.com/Lasagne/Lasagne.git && \
9089
pip install keras && \
9190
pip install keras-tuner && \
9291
pip install flake8 && \
93-
#neon
94-
cd /usr/local/src && \
95-
git clone --depth 1 https://github.com/NervanaSystems/neon.git && \
96-
cd neon && pip install . && \
97-
#nolearn
98-
pip install nolearn && \
9992
pip install Theano && \
100-
pip install pybrain && \
10193
pip install python-Levenshtein && \
10294
pip install hep_ml && \
103-
# chainer
10495
pip install chainer && \
10596
# NLTK Project datasets
10697
mkdir -p /usr/share/nltk_data && \
@@ -141,10 +132,6 @@ RUN pip install scipy && \
141132
# PUDB, for local debugging convenience
142133
pip install pudb && \
143134
pip install imbalanced-learn && \
144-
# Convex Optimization library
145-
# Latest version fails to install, see https://github.com/cvxopt/cvxopt/issues/77
146-
# and https://github.com/cvxopt/cvxopt/issues/80
147-
# pip install cvxopt && \
148135
# Profiling and other utilities
149136
pip install line_profiler && \
150137
pip install orderedmultidict && \
@@ -170,7 +157,6 @@ RUN apt-get install -y libgl1-mesa-glx && \
170157
/tmp/clean-layer.sh
171158

172159
RUN pip install mpld3 && \
173-
pip install mplleaflet && \
174160
pip install gpxpy && \
175161
pip install arrow && \
176162
pip install nilearn && \
@@ -179,7 +165,6 @@ RUN pip install mpld3 && \
179165
pip install markovify && \
180166
pip install imgaug && \
181167
pip install preprocessing && \
182-
pip install Baker && \
183168
pip install path.py && \
184169
pip install Geohash && \
185170
# https://github.com/vinsci/geohash/issues/4
@@ -189,15 +174,13 @@ RUN pip install mpld3 && \
189174
pip install scikit-optimize && \
190175
pip install haversine && \
191176
pip install toolz cytoolz && \
192-
pip install sacred && \
193177
pip install plotly && \
194178
pip install hyperopt && \
195179
pip install fitter && \
196180
pip install langid && \
197181
# Delorean. Useful for dealing with datetime
198182
pip install delorean && \
199183
pip install trueskill && \
200-
pip install heamy && \
201184
# Useful data exploration libraries (for missing data and generating reports)
202185
pip install missingno && \
203186
pip install pandas-profiling && \
@@ -218,7 +201,6 @@ RUN pip install mpld3 && \
218201
pip install spectral && \
219202
pip install descartes && \
220203
pip install geojson && \
221-
pip install terminalplot && \
222204
pip install pydicom && \
223205
pip install wavio && \
224206
pip install SimpleITK && \
@@ -237,14 +219,11 @@ RUN pip install mpld3 && \
237219
pip install geoviews && \
238220
pip install hypertools && \
239221
pip install py_stringsimjoin && \
240-
pip install nibabel && \
241222
pip install mlens && \
242223
pip install scikit-multilearn && \
243224
pip install cleverhans && \
244225
pip install leven && \
245226
pip install catboost && \
246-
# fastFM doesn't support Python 3.7 yet: https://github.com/ibayer/fastFM/issues/151
247-
# pip install fastFM && \
248227
pip install lightfm && \
249228
pip install folium && \
250229
pip install scikit-plot && \
@@ -260,12 +239,12 @@ RUN pip install mpld3 && \
260239
pip install kaggle && \
261240
/tmp/clean-layer.sh
262241

263-
RUN pip install kmeans-smote --no-dependencies && \
242+
RUN pip install tensorpack && \
264243
# Add google PAIR-code Facets
265244
cd /opt/ && git clone https://github.com/PAIR-code/facets && cd facets/ && jupyter nbextension install facets-dist/ --user && \
266245
export PYTHONPATH=$PYTHONPATH:/opt/facets/facets_overview/python/ && \
267-
pip install tensorpack && \
268-
pip install pycountry && pip install iso3166 && \
246+
pip install pycountry && \
247+
pip install iso3166 && \
269248
pip install pydash && \
270249
pip install kmodes --no-dependencies && \
271250
pip install librosa && \
@@ -303,23 +282,18 @@ RUN pip install --upgrade cython && \
303282
# Pandas data reader
304283
pip install pandas-datareader && \
305284
pip install wordsegment && \
306-
pip install pyahocorasick && \
307285
pip install wordbatch && \
308286
pip install emoji && \
309287
# Add Japanese morphological analysis engine
310288
pip install janome && \
311289
pip install wfdb && \
312290
pip install vecstack && \
313-
# Doesn't support Python 3.7 yet. Last release on pypi is from 2017.
314-
# Add back once this PR is released: https://github.com/scikit-learn-contrib/lightning/pull/133
315-
# pip install sklearn-contrib-lightning && \
316291
# yellowbrick machine learning visualization library
317292
pip install yellowbrick && \
318293
pip install mlcrate && \
319294
/tmp/clean-layer.sh
320295

321-
RUN pip install bcolz && \
322-
pip install bleach && \
296+
RUN pip install bleach && \
323297
pip install certifi && \
324298
pip install cycler && \
325299
pip install decorator && \
@@ -409,7 +383,6 @@ RUN pip install flashtext && \
409383
# b/167220714 unpin once matplotlib >= 3.3 is installed in the base image.
410384
pip install tensorforce==0.5.5 && \
411385
pip install pyarabic && \
412-
pip install conx && \
413386
pip install pandasql && \
414387
pip install tensorflow_hub && \
415388
pip install jieba && \

0 commit comments

Comments
 (0)