Summer school web site: www.kios.ucy.ac.cy/summer-school/
Python
is one of the most popular programming languages used extensively in web development, as well as in science and engineering (including data science). In this course we will be usingPython 2.7
.Jypyter
is a browser-based tool which allows us to interface withPython
in an easy way. Jupyter is primarily used for educational purposes - not for development. We can createnotebooks
which we can share so that others can replicate our work and make changes.Anaconda
is an environment which makes it easy to setup various languages and tools, such asPython
.
- Download
Python 2.7 version
from the Anaconda website. Make sure you select the2.7
version. - When prompted in instalation, select
Add Anaconda to my PATH environment variable
- When installation has finished, run
Anaconda Prompt
. This will open a command line window in Windows. - Run the command
jupyter notebook
. This should open a local jupyter notebook.
Reference:
- Download
Python 2.7 version
from the Anaconda website - Open a terminal and
cd
to the installation folder - Enter the
bin/
directory (atanaconda-base-dir/bin
) and runsource activate root
; this will activate theroot
(default) Anaconda environment - Start the anaconda navigator by running
./anaconda-navigator
Read this tutorial on how to use the anaconda navigator.
You may install the following packages using Anaconda:
Classification exercise: numpy, sklearn, matplotlib, seaborn, scipy
Regression exercise: numpy, pandas, sklearn, matplotlib, pydot, scipy
System identification exercise: numpy, matplotlib, cvxpy, scipy
Notes:
- If a package is not included in Anaconda read this tutorial on how to install packages using the anaconda navigator, or use conda in the terminal.
- Run this notebook to test if the packages are installed succesfully.
Preparation material as follows: