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 2019. The course is divided in two parts: Network Science and Learning with Graphs. The 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 two assignments and a semester project. Below are slides about the organization of the course.
- Course organization
- Projects
- Concluding remarks
The content is similar to the 2017 and 2018 editions, with more emphasis on machine learning with graphs. 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 (tentative).
- Installation instructions
- Introduction
- Building graphs from edge lists
- Building graphs from features
- Manipulating graphs with NetworkX
- Machine learning with scikit-learn
- Interactive graph visualization with gephi
- Graph signal processing with pygsp
For this course, you'll use the following tools: conda & anaconda, python, jupyter, git, numpy, scipy, matplotlib, pandas, networkx, graph-tool, pygsp, gephi, scikit-learn, pytorch.
The following assignments were designed to evaluate the theoretical understanding of students through practice. As a Data Science course, those activities are realized on real data and networks.
- Network science: assignment, solution.
- Learning with graphs: assignment, solution, feedback.
Part of the course is evaluated by an open-ended project (see the description), proposed and carried out by groups of four students. We provide a list of datasets and project ideas. Students review each other's work to receive intermediate feedback and internalize the grading criteria. 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 137 students enrolled that year.
- [proposal, report, slides, code] Guessing Students Gender by their Course Plan
- [proposal, report, slides, code] Wikipedia Query Engine
- [proposal, report, slides, code] Would humanity survive a Spanish flu pandemic today?
- [proposal, report, slides, code] Detection of Spammers in a Social Network
- [proposal, report, slides, code] Will this Movie be Successful? A network based prediction of Award nomination
- [proposal, report, slides, code] Movinder: A Movie Recommendation System for Groups
- [proposal, report, slides, code] Movie Recommendation Using Graph Neural Networks
- [proposal, report, slides, code] Actors Tour of Data Science
- [proposal, report, slides, code] Aggregation Phenomena in Movie Industry
- [proposal, report, slides, code] An exploration of recipes
- [proposal, report, slides, code] A dive into the music industry
- [proposal, report, slides, code] A network-based recommendation system
- [proposal, report, slides, code] Science and Religion
- [proposal, report, slides, code] A Power Tour of Data Science
- [proposal, report, slides, code] Movie Recommender Exploration
- [proposal, report, slides, code] Movie Recommendation System
- [proposal, report, slides, code] A Hybrid Matrix Factorization via Graph Signal Processing
- [proposal, report, slides, code] A Network Approach to Genetic and Expression based Phenotype Prediction on Mouse
- [proposal, report, slides, code] Discovering Communities in Global Flight Route Graph
- [proposal, report, slides, code] Strategic Recipes
- [proposal, report, slides, code] Will my new videogame be successful?
- [proposal, report, slides, code] A Network Tour of Inter-County Migration in the United States
- [proposal, report, slides, code] A Network Tour of the Football Transfer Market
- [proposal, report, slides, code] Analysis of delays on the New Jersey railway network
- [proposal, report, slides, code] A Network Tour of Kitchen Science: Ingredient Recommendation and Replacement
- [proposal, report, slides, code] A Network Tour of NIPS Conference Papers
- [proposal, report, slides, code] Airbnb price prediction from an host point of view
- [proposal, report, slides, code] A Growing Network of Characters in Marvel and DC Universes
- [proposal, report, slides, code] Movie Recommendations using Signal Diffusion
- [proposal, report, slides, code] Genetically Determined Susceptibility to Malaria
- [proposal, report, slides, code] Twitter for publication success? A computational investigation
- [proposal, report, slides, code] Graph-based Recommender System
- [proposal, report, slides, code] A Network Tour of Cooking
- [proposal, report, slides, code] A Culinary Tour of Data Science
- [proposal, report, slides, code] Understanding Negotiated-Congestion Routing for FPGAs
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_2019
.
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.
Another option is to use the EPFL's JupyterHub service, available at https://noto.epfl.ch.
While the default environment has most packages pre-installed, you can create different environments (e.g., for different classes).
To do so, follow the instructions contained in the notebooks supplied in the Documentation
folder that is available on your Noto instance.
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).
- Windows: double-click on
Miniconda3-latest-Windows-x86_64.exe
. - macOS: double-click on
Miniconda3-latest-MacOSX-x86_64.pkg
or runbash Miniconda3-latest-MacOSX-x86_64.sh
in a terminal. - Linux: run
bash Miniconda3-latest-Linux-x86_64.sh
in a terminal or use your package manager.
- 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/folder
. - Download this repository with
git clone https://github.com/mdeff/ntds_2019
. - Enter the repository with
cd ntds_2019
. - Create an environment with the packages required for the course with
conda env create -f environment.yml
. - Run the steps below to start Jupyter. You should be able to run the
test_install.ipynb
notebook.
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_2019
. - Navigate to the folder where you stored the course material with
cd path/to/folder/ntds_2019
. - Start Jupyter with
jupyter lab
. The command should open a new tab in your web browser. - Edit and run the notebooks from your browser.
- Once done, you can run
conda deactivate
to leave thentds_2019
environment.
- Lecturers: Pierre Vandergheynst, Pascal Frossard, Andreas Loukas, Michaël Defferrard, Volodymyr Miz.
- Assistants: Michaël Defferrard, Volodymyr Miz, Effrosyni Simou, Eda Bayram, Benjamin Ricaud, Nicolas Aspert, Clément Vignac, Guillermo Jiménez, Nikolaos Karalias.
The content is released under the terms of the MIT License.