Install Anaconda (Python 2.7) from: https://www.continuum.io/downloads This includes python 2.7.9 and the necessary libraries we will be using: "numpy", "matplotlib", "scipy" and "scikit-learn"
Installing required packages using "pip"
Open your terminal and check whether you have the "pip" function installed by typing pip (and enter) If you do not have pip installed, check the link: https://pip.pypa.io/en/latest/installing/ (If installing via the terminal/command line, ensure you are in the directory where you have downloaded the file "get-pip" or if using chrome right-click on the link to download, save to desktop, and simply double click on the executable).
You may need to use sudo pip install
(for OSX, *nix, etc) or run your command shell as Administrator (for Windows) to be able to perform the installation of the folllowing individual packages:
(sudo) pip install Plotly
If you already have any of the previously-mentioned libraries installed, you can update them to a newer version using the syntax:
pip install <package> --upgrade
where <package>
can be any of the libraries mentioned above.
Install git if you don't have it: http://git-scm.com/
Sign up for a GitHub account or sign in if you have one: github.com
Fork the CCA Machine Learning Intro Repository at:
https://github.com/cambridgecoding/machinelearningintro
Clone the code from your own repository.
Open and run the "load_libraries.ipynb" file, and check whether the libraries have been successfully loaded.
To execute the notebook, in your terminal run:
ipython notebook load_libraries.ipynb