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 course material revolves around the following topics: Network Science, Spectral Graph Theory, Graph Signal Processing, Data Science, Machine Learning.
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
The content is similar to the 2017 edition and is further developed in the 2019 edition. Compared to the 2016 edition, the course has been refocused on graph and network sciences.
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. Best student solution.
- Graph signal processing: analyze data (signals, features) on the graph. Best student solution.
After completing those milestones, they are free to pursue any other direction of interest. Those data projects are meant to jointly practice and evaluate their theoretical network analysis skills and practical Data Science skills.
Below is the work of the 180 students enrolled that year.
- [report, slides, code] A Network Analysis of Movie Popularity
- [report, slides, code] Learning US Senate voting behavior from bill sponsorship profiles
- [report, slides, code] Retrieving the continent labels from the air routes structure
- [report, slides, code] Evolution of the movie industry
- [report, slides, code] A network tour to flight delay in the US
- [report, slides, code] Flight network and airline alliances
- [report, slides, code] Vote prediction of US Senators from graph properties
- [report, slides, code] Spreading disease through the air
- [report, slides, code] A Network Analysis of the 2018 FIFA World Cup
- [report, slides, code] History of Movie Success through GSP
- [report, slides, code] Music Genre Recognition
- [report, slides, code] Finding Continents from a Flight Routes Network
- [report, slides, code] Conversation starter using Wikipedia
- [report, slides, code] Smooth Radio: Automatic playlist generation using signal graph processing
- [report, slides, code] Movie Grossing Success Prediction with Convolutional Neural Networks on Graphs
- [report, slides, code] How to invest in movies?
- [report, slides, code] A Netflix Tour of Data Science — Film suggestion by diffusion on graphs
- [report, slides, code] U.S. Senators: A Voting Pattern Study
- [report, slides, code] A Data Study of Terrorism and its Tendencies
- [report, slides, code] Spammer… Catch me if you can
- [report, slides, code] Exposing the True Terrorist Network
- [report, slides, code] Small Components' Analysis and Flight Delay Prediction
- [report, slides, code] Minipedia
- [report, slides, code] Wikipedia Analysis Using Keyword Based Graphs
- [report, slides, code] Finding the Authors of a Terrorist Attack
- [report, slides, code] How to beat terrorism efficiently: identification of set of key players in terrorist networks
- [report, slides, code] A Network Topology Analysis of the Airline Industry
- [report, slides, code] Predicting Terror Attacks — A Data Story
- [report, slides, code] Free Music Alternative Playlists
- [report, slides, code, proposal] Feminism in Hollywood
- [report, slides, code] Genre Classification: A Transductive, Inductive and Deep Approach
- [report, slides, code] Friends Will Be Friends: A Network Tour of Musical Friendship
- [report, slides, code] Predicting the nature of terrorist attacks
- [report, slides, code] Transitional playlists for new musical discoveries
- [report, slides, code] A Wikipedia Tour of Death — or how University College Boat Club became popular
- [report, slides, code] Tempering the Spread of Epidemics on Aerial Networks
- [report, slides, code] Can we estimate the earnings of a movie?
- [report, slides, code] Re-balancing flight routes inequalities
- [report, slides, code, proposal] Voting patterns in the Swiss National Council
- [report, slides, code] An overviews of intercontinental flight route connections
- [report, slides, code] A Network Tour of Millenial Movies
- [report, slides, code] Identifying Spammers on Social Networks
- [report, slides, code, proposal] An exploratory study on the brain dysconnectome
- [report, slides, code] Mood Changing Playlist Generator
- [report, slides, code] Fight Against Terrorism
As each team stored their code in a github repository, all their code can conveniently be downloaded with git clone --recurse-submodules https://github.com/mdeff/ntds_2018
.
One folder per team will be populated in projects/code
.
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.
- Lecturers: 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.