Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.46 KB

README.md

File metadata and controls

68 lines (46 loc) · 1.46 KB

Python - Numpy introductory Lab

This is the introductory lab for Pattern Recognition and Speech and Language Processing in NTUA. Material covers an introduction to Python, NumPy and matplotlib.

Some of the material is adapted from this tutorial in cs231n course at Stanford.

Course Virtual Machine

To ease the setup process we provide a virtual machine for each course with the required software preinstalled.

To run the virtual machine you need to download and install Vagrant and VirtualBox. Then you need to open a terminal and run:

# For Pattern Recognition course
cd <path/to>/python-lab
cp Vagrantfile.patreco Vagrantfile
vagrant up

or

# For Speech and Language Processing course
cd <path/to>/python-lab
cp Vagrantfile.slp Vagrantfile
vagrant up

Setup will take a while, since it installs all dependencies.

When the setup is finished, a jupyter notebook will start in the machine. Navigate to the URL printed.

Changes to files will be saved automatically to your current working directory.

To access the console inside the VM use

vagrant ssh

To stop the VM use

vagrant halt

Bash tutorial

To run the bash tutorial notebook first install the bash_kernel for jupyter notebook:

pip install bash_kernel
python -m bash_kernel.install

and then run

jupyter notebook

and open Bash Tutorial.ipynb