Machine Learning Using Python

MEAFA Professional Development Workshop

List of additional packages

See below for installation instructions.

Machine Learning Packages

Additional Packages

The following packages are needed for specific visualisations.


Run the following on a terminal (command prompt on Windows) to install all the required libraries, except for XGBoost (see below).

conda config --add channels conda-forge
conda install lightgbm
conda install tensorflow
conda install keras
conda install mlxtend
conda install basemap
conda install python-graphviz
conda install -c wordcloud

See the XGBoost documentation for the instructions for that package (more technical). For Windows, it may be simpler to use the provided binaries. If you are using the lab computers, manual installation is also required as follows.

pushd "C:\Program Files\Anaconda3-5.0.1x64\Scripts\xgboost-master\python-package"
python install

In case you are not successful with wordcloud, try to download a compatible version from this page and install it from your working directory using (change the last part according to the version that you downloaded):

python -m pip install wordcloud-1.3.3-cp36-cp36m-win_amd64.whl