2016-11-25 09:34:17 +01:00
|
|
|
# First make sure to update pip:
|
|
|
|
# $ sudo pip install --upgrade pip
|
|
|
|
#
|
|
|
|
# Then you probably want to work in a virtualenv (optional):
|
|
|
|
# $ sudo pip install --upgrade virtualenv
|
2018-04-07 17:13:20 +02:00
|
|
|
# Or if you prefer you can install virtualenv using your favorite packaging
|
|
|
|
# system. E.g., in Ubuntu:
|
2016-11-25 09:34:17 +01:00
|
|
|
# $ sudo apt-get update && sudo apt-get install virtualenv
|
|
|
|
# Then:
|
|
|
|
# $ cd $my_work_dir
|
|
|
|
# $ virtualenv my_env
|
|
|
|
# $ . my_env/bin/activate
|
|
|
|
#
|
2018-04-07 17:13:20 +02:00
|
|
|
# Next, optionally uncomment the OpenAI gym lines (see below).
|
|
|
|
# If you do, make sure to install the dependencies first.
|
2018-05-07 11:01:38 +02:00
|
|
|
# If you are interested in xgboost for high performance Gradient Boosting, you
|
|
|
|
# should uncomment the xgboost line (used in the ensemble learning notebook).
|
2016-11-25 09:34:17 +01:00
|
|
|
#
|
2017-02-13 14:26:12 +01:00
|
|
|
# Then install these requirements:
|
2016-11-25 09:34:17 +01:00
|
|
|
# $ pip install --upgrade -r requirements.txt
|
2017-02-13 14:26:12 +01:00
|
|
|
#
|
2016-11-25 09:34:17 +01:00
|
|
|
# Finally, start jupyter:
|
|
|
|
# $ jupyter notebook
|
|
|
|
#
|
|
|
|
|
2018-04-07 17:13:20 +02:00
|
|
|
|
|
|
|
##### Core scientific packages
|
2016-11-25 09:34:17 +01:00
|
|
|
jupyter==1.0.0
|
2018-04-07 17:13:20 +02:00
|
|
|
matplotlib==2.2.2
|
2018-05-07 11:01:38 +02:00
|
|
|
numpy==1.14.3
|
2018-04-07 17:13:20 +02:00
|
|
|
pandas==0.22.0
|
2018-05-07 11:01:38 +02:00
|
|
|
scipy==1.1.0
|
2018-04-07 17:13:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
##### Machine Learning packages
|
|
|
|
scikit-learn==0.19.1
|
|
|
|
|
2018-05-07 11:01:38 +02:00
|
|
|
# Optional: the XGBoost library is only used in the ensemble learning chapter.
|
|
|
|
#xgboost==0.71
|
|
|
|
|
2018-04-07 17:13:20 +02:00
|
|
|
|
|
|
|
##### Deep Learning packages
|
|
|
|
|
2018-05-07 11:01:38 +02:00
|
|
|
# Replace tensorflow with tensorflow-gpu if you want GPU support. If so,
|
|
|
|
# you need a GPU card with CUDA Compute Capability 3.0 or higher support, and
|
|
|
|
# you must install CUDA, cuDNN and more: see tensorflow.org for the detailed
|
|
|
|
# installation instructions.
|
|
|
|
tensorflow==1.8.0
|
|
|
|
#tensorflow-gpu==1.8.0
|
|
|
|
|
|
|
|
# Forcing bleach to 1.5 to avoid version incompatibility when installing
|
|
|
|
# TensorBoard.
|
|
|
|
bleach==1.5.0
|
|
|
|
|
|
|
|
Keras==2.1.6
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2016-02-16 21:40:20 +01:00
|
|
|
|
2016-10-07 09:41:58 +02:00
|
|
|
# Optional: OpenAI gym is only needed for the Reinforcement Learning chapter.
|
|
|
|
# There are a few dependencies you need to install first, check out:
|
|
|
|
# https://github.com/openai/gym#installing-everything
|
2018-04-07 17:13:20 +02:00
|
|
|
#gym[all]==0.10.5
|
2017-02-13 14:26:12 +01:00
|
|
|
# If you only want to install the Atari dependency, uncomment this line instead:
|
2018-04-07 17:13:20 +02:00
|
|
|
#gym[atari]==0.10.5
|
2016-10-07 09:41:58 +02:00
|
|
|
|
2018-04-07 17:13:20 +02:00
|
|
|
|
2018-05-07 11:01:38 +02:00
|
|
|
##### Image manipulation
|
|
|
|
imageio==2.3.0
|
2018-04-07 17:13:20 +02:00
|
|
|
Pillow==5.1.0
|
2018-05-07 11:01:38 +02:00
|
|
|
scikit-image==0.13.1
|
|
|
|
|
|
|
|
|
|
|
|
##### Extra packages (optional)
|
|
|
|
|
|
|
|
# Nice utility to diff Jupyter Notebooks.
|
|
|
|
nbdime==0.4.1
|
|
|
|
|
|
|
|
# May be useful with Pandas for complex "where" clauses (e.g., Pandas
|
|
|
|
# tutorial).
|
|
|
|
numexpr==2.6.5
|
|
|
|
|
2018-05-18 20:53:38 +02:00
|
|
|
# Optional: these libraries can be useful in the classification chapter,
|
|
|
|
# exercise 4.
|
2018-05-07 11:01:38 +02:00
|
|
|
nltk==3.3
|
|
|
|
urlextract==0.8.3
|
|
|
|
|
2018-05-18 20:53:38 +02:00
|
|
|
# Optional: this extension is handy to easily start/stop tensorboard
|
|
|
|
# server(s) directly from Jupyter.
|
|
|
|
jupyter-tensorboard==0.1.6
|
|
|
|
|
|
|
|
# Optional: these are useful Jupyter extensions, in particular to display the
|
|
|
|
# table of contents
|
2018-05-07 11:01:38 +02:00
|
|
|
jupyter-contrib-nbextensions==0.5.0
|