| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3b9b2ac commit 7471944
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,13 +1,26 @@ | |||
| 1 | 1 | FROM continuumio/anaconda3:latest | |
| 2 | 2 | ||
| 3 | 3 | RUN conda install pip statsmodels seaborn python-dateutil nltk -y && \ | |
| 4 | - pip install pytagcloud pyyaml ggplot nolearn && \ | ||
| 4 | + pip install pytagcloud pyyaml ggplot theano joblib husl && \ | ||
| 5 | 5 | apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing && \ | |
| 6 | 6 | apt-get update && apt-get install -y git && apt-get install -y build-essential && \ | |
| 7 | + #word cloud | ||
| 8 | + pip install git+git://github.com/amueller/word_cloud.git && \ | ||
| 9 | + #xgboost | ||
| 7 | 10 | cd /usr/local/src && mkdir xgboost && cd xgboost && \ | |
| 8 | 11 | git clone https://github.com/dmlc/xgboost.git && cd xgboost && \ | |
| 9 | - make && cd wrapper && python setup.py install | ||
| 10 | - | ||
| 12 | + make && cd wrapper && python setup.py install && \ | ||
| 13 | + #lasagne | ||
| 14 | + cd /usr/local/src && mkdir Lasagne && cd Lasagne && \ | ||
| 15 | + git clone https://github.com/Lasagne/Lasagne.git && cd Lasagne && \ | ||
| 16 | + pip install -r requirements.txt && python setup.py install && \ | ||
| 17 | + #nolearn | ||
| 18 | + cd /usr/local/src && mkdir nolearn && cd nolearn && \ | ||
| 19 | + git clone https://github.com/dnouri/nolearn.git && cd nolearn && \ | ||
| 20 | + python setup.py install && \ | ||
| 21 | + # put theano compiledir inside /tmp (it needs to be in writable dir) | ||
| 22 | + printf "[global]\nbase_compiledir = /tmp/.theano\n" > /.theanorc | ||
| 23 | + | ||
| 11 | 24 | # set backend for matplotlibrc to Agg | |
| 12 | 25 | RUN matplotlibrc_path=$(python -c "import site, os, fileinput; packages_dir = site.getsitepackages()[0]; print(os.path.join(packages_dir, 'matplotlib', 'mpl-data', 'matplotlibrc'))") && \ | |
| 13 | 26 | sed -i 's/^backend : Qt4Agg/backend : Agg/' $matplotlibrc_path | |
| Back | FazBrowse Home | New Git URL |
0 commit comments