-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmachine_learning.rcp
More file actions
43 lines (40 loc) · 1.08 KB
/
Copy pathmachine_learning.rcp
File metadata and controls
43 lines (40 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Bootstrap: docker
From: tensorflow/tensorflow:latest-jupyter
%labels
Maintainer Hang(Dylan) Yang
Image_Name Machine_Learning
Image_Version Machine_Learning_01
%post
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y --no-install-recommends \
wget \
curl \
less \
git \
ssh \
htop \
python3-dev \
python-pip \
python3-pip \
python-setuptools \
python3-setuptools
apt-get clean
#------------------------------------------
python3 -m pip install wheel
python3 -m pip install bash_kernel
python3 -m bash_kernel.install
#------------------------------------------
python3 -m pip install --upgrade tensorflow
python3 -m pip install --upgrade tensorflow-gpu
python3 -m pip install theano
python3 -m pip install keras
python3 -m pip install scikit-learn
python3 -m pip install statsmodels
python3 -m pip install matplotlib
python3 -m pip install pandas
python3 -m pip install seaborn
#------------------------------------------
mkdir /data
mkdir /output
mkdir /scratch