-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathREADME.setup.linux
30 lines (22 loc) · 976 Bytes
/
README.setup.linux
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
# Set up your python environment
# ------------------------------
# Download the Anaconda installer
curl -o Anaconda2-4.3.1-Linux-x86_64.sh https://repo.continuum.io/archive/Anaconda2-4.3.1-Linux-x86_64.sh
# Make the installer executable
chmod u+x ./Anaconda2-4.3.1-Linux-x86_64.sh
# Run the installer, accepting the defaults.
./Anaconda2-4.3.1-Linux-x86_64.sh
# Source the .bash_profile to add anaconda2/bin to your path
source ~/.bash_profile
# Or you can manually update your path
export PATH=/<user_dir>/anaconda2/bin:$PATH
# Install an additonal module not shipped with Anaconda
conda install -c glemaitre imbalanced-learn
conda install -c conda-forge tensorflow
pip install git+git://github.com/Theano/Theano.git
pip install git+git://github.com/fchollet/keras.git
# Download the source files for the tutorial
git clone https://github.com/brettin/ml_tutorials
# Run the first tutorial example
cd ml_tutorials/Topics/1_first_example/
python linear_regression.py