This repository contains the material for the practical work associated with the EPFL master course EE-558 A Network Tour of Data Science (moodle), taught in fall 2018. The content is similar to the 2017 edition. Compared to the 2016 edition, the course has been refocused on graph and network sciences. The course material revolves around the following topics:
Theoretical knowledge is taught during lectures. Practical knowledge is taught through tutorials. Both are practiced and evaluated through a semester project. Below are slides about the organization of the course.
- Course organization
- Project expectations
- Concluding remarks
Below is the teaching material you'll find in this repository.
- Installation instructions
- Introduction
- Building graphs from edge lists
- Building graphs from features
- Plotting with matplotlib
- Interactive graph visualization with gephi
- Sparse matrices with scipy
- Linear algebra for graphs and networkx
- Graph signal processing with pygsp
For this course, we'll introduce and use the following tools: conda & anaconda, python, jupyter, git, numpy, scipy, matplotlib, pandas, networkx, graph-tool, pygsp, gephi.
During the course of a semester project, students exercise the theory seen in class on real data and networks. Projects are carried out by groups of four students, and are to be chosen in the list of proposed projects. The students have to deliver four milestones, following the theory seen in class:
- Network properties: measure and interpret some properties of the network. Best student solution.
- Network models: fit some relevant network models and comment on their fitness. Best student solution.
- Spectral graph theory: visualize and cluster the network using the spectrum of the graph Laplacian.
- Graph signal processing: analyze data (signals, features) on the graph.
After completing those milestones, they are free to pursue any other direction of interest. Those data projects are meant to jointly evaluate their theoretical network analysis skills and practical Data Science skills.
Below is their work.
- [report, slides, code] Project name
Click the binder badge to play with the notebooks from your browser without installing anything.
For a local installation, you will need git, Python, and packages from the Python scientific stack. If you don't know how to install those on your platform, we recommend to install Miniconda or Anaconda, a distribution of the conda package and environment manager. Follow the below instructions to install it and create an environment for the course.
- Download the Python 3.x installer for Windows, macOS, or Linux from
https://conda.io/miniconda.html and install with default settings. Skip
this step if you have conda already installed (from Miniconda or
Anaconda). Linux users may prefer to use their package manager.
- Windows: Double-click on
Miniconda3-latest-Windows-x86_64.exe
. - macOS: Run
bash Miniconda3-latest-MacOSX-x86_64.sh
in your terminal. - Linux: Run
bash Miniconda3-latest-Linux-x86_64.sh
in your terminal.
- Windows: Double-click on
- Open a terminal. Windows: open the Anaconda Prompt from the Start menu.
- Install git with
conda install git
. - Navigate to the folder where you want to store the course material with
cd path/to/ntds
. Windows users may need\
instead of/
as the path separator. - Download this repository with
git clone https://github.com/mdeff/ntds_2018
. - Enter the repository with
cd ntds_2018
. - Create an environment with the packages required for the course with
conda env create -f environment.yml
. - If everything went fine, you should be able to run the
test_install.ipynb
notebook after following the above steps.
Every time you want to work, do the following:
- Open a terminal. Windows: open the Anaconda Prompt from the Start menu.
- Activate the environment with
conda activate ntds_2018
(oractivate ntds_2018
, orsource activate ntds_2018
). - Navigate to the folder where you stored the course material with
cd path/to/ntds_2018
. - Start Jupyter with
jupyter notebook
orjupyter lab
. The command should open a new tab in your web browser. - Edit and run the notebooks from your browser.
- Instructors: Pierre Vandergheynst, Pascal Frossard.
- Assistants: Michaël Defferrard, Hermina Petric Maretić, Effrosyni Simou, Rodrigo Pena, Benjamin Ricaud, Eda Bayram.
- Invited lecturers: Kirell Benzi, Dorina Thanou, Michaël Defferrard.
The content is released under the terms of the MIT License.