100 lines
2.5 KiB
Plaintext
100 lines
2.5 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
|
|
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.
|
|
|
|
tensorflow==2.0.0a0
|
|
#tensorflow-gpu==2.0.0a0
|
|
|
|
#tensorboard
|
|
tb-nightly
|
|
|
|
#tensorflow-datasets
|
|
tfds-nightly
|
|
|
|
tensorflow-hub
|
|
|
|
#tensorflow-probability
|
|
tfp-nightly
|
|
|
|
tensorflow-transform
|
|
|
|
# At the present (April 2019) the TF Addons library is only available on Linux
|
|
# So uncomment this line if you are using Linux.
|
|
#tensorflow-addons
|
|
|
|
# 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]==0.10.9
|
|
# If you only want to install the Atari dependency, uncomment this line instead:
|
|
#gym[atari]==0.10.9
|
|
|
|
|
|
##### 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==1.0.5
|
|
|
|
# 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
|