## Network Engineering

• Information of the course: lectures, seminars, labs; evaluation and bibliography: pdf
• Course notes (compilation): pdf
• Mid-term exam. Group 1: 8/3/2022 | Group 2: 8/3/2022
• Final exam: 24/3/2022

Sessions

• Lecture 1 - Introduction & Motivation of the course (slides): pdf
• Lecture 1 - Introduction to WLANs (slides): pdf
• Lecture 2 - Background on stochastic processes (slides): pdf
• Seminar 1 - Exercises: pdf
• Lab 1 - Introduction to COST [link] - Basic Communication system [link]
• Lecture 3 - Markov chains: DTMCs (slides): pdf | CTMCs (slides): pdf
• Lecture 4 - Wi-Fi Distributed Coordination Function  (pdf
• Seminar 2 - Exercises: pdf
• Lab 2 - Wi-Fi DCF in saturation conditions (Colab env. [link] | |sim, zip)
• Lecture 5 - Modelling a network interface 1 (M/M/S/K) : Slides: pdf
• Lecture 6 - Modelling a network interface 2 (M/M/1/K & M/M/1) : Slides: pdf |
• Seminar 3 - Exercisespdf
• Lab 3 - Simulation of queueing systems: M/M/1/K, M/D/1/K, D/M/1/K, etc. [link]
• Lecture 7 - Modelling a Wi-Fi AP with Donwlink Traffic :  Slides AP model: pdf
• Lecture 8 - Multiple hops / End to end delay : Slides: pdf
• Seminar 4 - Exercises: pdf
• Lab 4 - Modelling a Wi-Fi Access Point (only Downlink): [link]
• Lecture 9 - M/G/1 : Slides: pdf | Slides: Packet retransmissions due to errors: pdf
• Lecture 10 - Mid-term exam
• Lab 5  - Project: Traffic-differentiation in a Wi-Fi Access Point (only Downlink) [link]
• Lecture 11 - M/G/1 : Multiple traffic flows + Traffic differentiation: pdf
• Seminar 5 - Exercises: pdf
• Lab 6 - Project: Traffic-differentiation in a Wi-Fi Access Point (only Downlink) [link]
• Lecture 12 - Low-latency region of a M/G/1 queue: pdf

Old Lectures

• Lecture - Call Admission Control in Cellular Networks: Slides: pdf | Report: pdf

Old Matlab Labs (they are still valid as exercises)

• Lab 1 - Report + Matlab functions: zip
• Lab 2 - Report + Matlab functions: zip
• Lab 3 - M/M/1/K and M/M/1 - Report + Matlab functions: zip
• Lab 4 - WIFI-DL model: Report + Matlab functions: zip
• Lab 5 - M/G/1: Report + Matlab functions: zip
• Lab project (pdf) - To be delivered by the date of the final exam

Lab project

• Lab project 2021/22: Traffic differentiation in Wi-Fi

Solutions

• Seminars (zip)
• Old Matlab Labs (zip)

Exams

Resources

• Bertsekas & Gallagher: Data Networks (book): link

## Machine Learning for Networking

• Information of the course: lectures, seminars, labs; evaluation and bibliography: pdf
• Lab 1 report: 25-May-2022
• Lab 2 report: 10-June-2022
• Seminars's project: 17-June-2022
• Final exam: 21-June-2022

Sessions

• Lecture 1 - ML to create models from data (pdf, Example1.m)
• Lecture 2 - How does WiFi work (slides 1 pdf, slides 2 pdf, Example2.zip)
• Seminar 1 - Analyzing a (WIFI) dataset (Text(pdf), Slides(pdf), link to dataset)
• Lecture 3 - Modelling WiFi performance I  (pdf
• Lecture 4 - Modelling WiFi performance II  (pdfExample4.zip)
• Lab 1 - AP selection using MABs: Scenario set-up (pdf, zip in the Moodle)
• Seminar 2 - Regression and decision tree models (pdf)
• Lecture 5 - Are we lucky? Random exploration  (pdfExample5.zip)
• Lecture 6 - Reinforcement Learning: Multi-armed Bandits (pdfExample6.zip)
• Lecture 7 - Reinforcement Learning: Non-stationarity (pdfExample7.zip)
• Lab 2 - AP selection using MABs: Hands on (pdf, zip in the Moodle)
• Seminar 3 - Classification models (pdf)
• Lecture 8 - Reinforcement Learning: Contexts, States, MDPs + Q-learning (pdfExample8.zippdfExample9.zip)
• Lab 3 - AP selection using MABs: design your own MAB!
• Lecture 9 - Lab session (to recover the session from May 18, 2022 (Festa Major))
• Lecture 10 - [Practical Session] Reinforcement Learning: Q-learning II  (pdfExample10.zip)
• Seminar 4 - Neural Networks
• Lab 4 - Introduction to ThingSpeak (zip in the Moodle)
• Lecture 11 - [Practical Session]  ODS - Fem IoT project + Sampling IoT (pdf ODS, pdf, Example11.zip)
• Seminar 5 - Development of the seminar's project
• Lab 5 - IoT Data collection and prediction using ThingSpeak
• Lecture 12 - Open questions (free session) - Suggested reading: link
Datasets & other resources
• ITU-T 5G ML challenge (2020; 2021)