Recitation/Lab for Inference and Representation
TA: Rahul G. Krishnan (email@example.com)
This repository contains the slides (in pdf format) and ipython notebooks used in the recitations for Inference and Representation.
If you haven't used IPython notebook before, its great. It allows you to have a persistant python interpreter session (akin to MATLAB) that may be embellished with latex, comments, plots generated from data etc. I'll use it for some small demonstrations and for visualizations. Feel free to clone this repository and play around with the ipython notebooks.
What do I need to run the notebooks?
- I recommend using Anaconda Python. (This is a version of python that comes prepackaged with many scientific computing libraries (numpy/scipy/scikit-learn) saving you the trouble of dealing with installing each one separately and dealing with dependencies. It does not affect your system python and can be uninstalled easily). This comes pre-packaged with support for IPython (or now called Jupyter) notebooks.
- Go to the directory where the ipython notebooks are located and run
ipython notebook. This will run an ipython server on your local machine and open a browser tab that connects you to the ipython server (typically running on
- If there are additional packages required for a specific lab, they will be pointed out as we go along.
Some useful links
- [Markdown Cheatsheet] (https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) : Contains commonly used ways to structure text in markdown mode for writing within the notebook
%%latexat the beginning of the shell to render latex within that shell
- [IPython Cheatsheet] (https://zenodo.org/record/44973/files/ipynb-cheat-sheet.pdf)