diff --git a/Dockerfile b/Dockerfile index a92ca383..f411e644 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ RUN conda config --add channels conda-forge && \ # The anaconda base image includes outdated versions of these packages. Update them to include the latest version. RUN pip install seaborn python-dateutil dask && \ - pip install pyyaml joblib pytagcloud husl geopy ml_metrics mne pyshp && \ + pip install pyyaml joblib husl geopy ml_metrics mne pyshp && \ pip install pandas && \ # Install h2o from source. # Use `conda install -c h2oai h2o` once Python 3.7 version is released to conda. @@ -80,21 +80,12 @@ RUN apt-get install -y libfreetype6-dev && \ pip install xgboost && \ # Pinned to match GPU version. Update version together. pip install lightgbm==2.3.1 && \ - pip install git+git://github.com/Lasagne/Lasagne.git && \ pip install keras && \ pip install keras-tuner && \ pip install flake8 && \ - #neon - cd /usr/local/src && \ - git clone --depth 1 https://github.com/NervanaSystems/neon.git && \ - cd neon && pip install . && \ - #nolearn - pip install nolearn && \ pip install Theano && \ - pip install pybrain && \ pip install python-Levenshtein && \ pip install hep_ml && \ - # chainer pip install chainer && \ # NLTK Project datasets mkdir -p /usr/share/nltk_data && \ @@ -135,10 +126,6 @@ RUN pip install scipy && \ # PUDB, for local debugging convenience pip install pudb && \ pip install imbalanced-learn && \ - # Convex Optimization library - # Latest version fails to install, see https://github.com/cvxopt/cvxopt/issues/77 - # and https://github.com/cvxopt/cvxopt/issues/80 - # pip install cvxopt && \ # Profiling and other utilities pip install line_profiler && \ pip install orderedmultidict && \ @@ -164,7 +151,6 @@ RUN apt-get install -y libgl1-mesa-glx && \ /tmp/clean-layer.sh RUN pip install mpld3 && \ - pip install mplleaflet && \ pip install gpxpy && \ pip install arrow && \ pip install nilearn && \ @@ -173,7 +159,6 @@ RUN pip install mpld3 && \ pip install markovify && \ pip install imgaug && \ pip install preprocessing && \ - pip install Baker && \ pip install path.py && \ pip install Geohash && \ # https://github.com/vinsci/geohash/issues/4 @@ -183,7 +168,6 @@ RUN pip install mpld3 && \ pip install scikit-optimize && \ pip install haversine && \ pip install toolz cytoolz && \ - pip install sacred && \ pip install plotly && \ pip install hyperopt && \ pip install fitter && \ @@ -191,7 +175,6 @@ RUN pip install mpld3 && \ # Delorean. Useful for dealing with datetime pip install delorean && \ pip install trueskill && \ - pip install heamy && \ # Useful data exploration libraries (for missing data and generating reports) pip install missingno && \ pip install pandas-profiling && \ @@ -212,7 +195,6 @@ RUN pip install mpld3 && \ pip install spectral && \ pip install descartes && \ pip install geojson && \ - pip install terminalplot && \ pip install pydicom && \ pip install wavio && \ pip install SimpleITK && \ @@ -231,14 +213,11 @@ RUN pip install mpld3 && \ pip install geoviews && \ pip install hypertools && \ pip install py_stringsimjoin && \ - pip install nibabel && \ pip install mlens && \ pip install scikit-multilearn && \ pip install cleverhans && \ pip install leven && \ pip install catboost && \ - # fastFM doesn't support Python 3.7 yet: https://github.com/ibayer/fastFM/issues/151 - # pip install fastFM && \ pip install lightfm && \ pip install folium && \ pip install scikit-plot && \ @@ -254,12 +233,12 @@ RUN pip install mpld3 && \ pip install kaggle && \ /tmp/clean-layer.sh -RUN pip install kmeans-smote --no-dependencies && \ +RUN pip install tensorpack && \ # Add google PAIR-code Facets cd /opt/ && git clone https://github.com/PAIR-code/facets && cd facets/ && jupyter nbextension install facets-dist/ --user && \ export PYTHONPATH=$PYTHONPATH:/opt/facets/facets_overview/python/ && \ - pip install tensorpack && \ - pip install pycountry && pip install iso3166 && \ + pip install pycountry && \ + pip install iso3166 && \ pip install pydash && \ pip install kmodes --no-dependencies && \ pip install librosa && \ @@ -296,23 +275,18 @@ RUN pip install --upgrade cython && \ # Pandas data reader pip install pandas-datareader && \ pip install wordsegment && \ - pip install pyahocorasick && \ pip install wordbatch && \ pip install emoji && \ # Add Japanese morphological analysis engine pip install janome && \ pip install wfdb && \ pip install vecstack && \ - # Doesn't support Python 3.7 yet. Last release on pypi is from 2017. - # Add back once this PR is released: https://github.com/scikit-learn-contrib/lightning/pull/133 - # pip install sklearn-contrib-lightning && \ # yellowbrick machine learning visualization library pip install yellowbrick && \ pip install mlcrate && \ /tmp/clean-layer.sh -RUN pip install bcolz && \ - pip install bleach && \ +RUN pip install bleach && \ pip install certifi && \ pip install cycler && \ pip install decorator && \ @@ -398,7 +372,6 @@ RUN pip install flashtext && \ # b/167220714 unpin once matplotlib >= 3.3 is installed in the base image. pip install tensorforce==0.5.5 && \ pip install pyarabic && \ - pip install conx && \ pip install pandasql && \ pip install tensorflow_hub && \ pip install jieba && \ diff --git a/tests/test_lasagne.py b/tests/test_lasagne.py deleted file mode 100644 index 08e9dbf8..00000000 --- a/tests/test_lasagne.py +++ /dev/null @@ -1,15 +0,0 @@ -import unittest - -import lasagne -import theano.tensor as T - -class TestLasagne(unittest.TestCase): - def test_network_definition(self): - input_var = T.tensor4('X') - - network = lasagne.layers.InputLayer((None, 3, 32, 32), input_var) - network = lasagne.layers.Conv2DLayer(network, 64, (3, 3)) - - params = lasagne.layers.get_all_params(network, trainable=True) - - self.assertEqual(2, len(params))