89 lines
2.3 KiB
Plaintext
89 lines
2.3 KiB
Plaintext
# 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
|
|
# Or if you prefer you can install virtualenv using your favorite packaging
|
|
# system. E.g., in Ubuntu:
|
|
# $ sudo apt-get update && sudo apt-get install virtualenv
|
|
# Then:
|
|
# $ cd $my_work_dir
|
|
# $ virtualenv my_env
|
|
# $ . my_env/bin/activate
|
|
#
|
|
# Next, optionally uncomment the OpenAI gym lines (see below).
|
|
# If you do, make sure to install the dependencies first.
|
|
# If you are interested in xgboost for high performance Gradient Boosting, you
|
|
# should uncomment the xgboost line (used in the ensemble learning notebook).
|
|
#
|
|
# Then install these requirements:
|
|
# $ pip install --upgrade -r requirements.txt
|
|
#
|
|
# Finally, start jupyter:
|
|
# $ jupyter notebook
|
|
#
|
|
|
|
|
|
##### Core scientific packages
|
|
jupyter==1.0.0
|
|
jupyter-client==5.2.4
|
|
jupyter-console==6.0.0
|
|
jupyter-core==4.4.0
|
|
matplotlib==3.0.3
|
|
numpy==1.16.2
|
|
pandas==0.24.1
|
|
scipy==1.2.1
|
|
|
|
|
|
##### Machine Learning packages
|
|
scikit-learn==0.20.3
|
|
|
|
# Optional: the XGBoost library is only used in the ensemble learning chapter.
|
|
xgboost==0.82
|
|
|
|
|
|
##### Deep Learning packages
|
|
|
|
# Replace tensorflow with tensorflow-gpu if you want GPU support. If so,
|
|
# you need a GPU card with CUDA Compute Capability 3.5 or higher support, and
|
|
# you must install CUDA, cuDNN and more: see tensorflow.org for the detailed
|
|
# installation instructions.
|
|
tf-nightly-2.0-preview
|
|
#tf-nightly-gpu-2.0-preview
|
|
tb-nightly
|
|
#tensorflow-hub
|
|
#tensorflow-probability
|
|
|
|
|
|
# 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
|
|
#gym[all]
|
|
# If you only want to install the Atari dependency, uncomment this line instead:
|
|
#gym[atari]
|
|
|
|
|
|
##### Image manipulation
|
|
imageio==2.5.0
|
|
Pillow==5.4.1
|
|
scikit-image==0.14.2
|
|
|
|
|
|
##### Extra packages (optional)
|
|
|
|
# Nice utility to diff Jupyter Notebooks.
|
|
#nbdime
|
|
|
|
# May be useful with Pandas for complex "where" clauses (e.g., Pandas
|
|
# tutorial).
|
|
numexpr==2.6.9
|
|
|
|
# Optional: these libraries can be useful in the classification chapter,
|
|
# exercise 4.
|
|
nltk==3.4
|
|
urlextract==0.9
|
|
|
|
# Optional: tqdm displays nice progress bars, ipywidgets for tqdm's notebook support
|
|
tqdm==4.31.1
|
|
ipywidgets==7.4.2
|