Skip to main content
If you continue browsing this website, you agree to our policies:
  • Condizioni di utilizzo e trattamento dei dati
Continue
x
e-Learning - UNIMIB
  • Home
  • Calendar
  • My Media
  • More
Listen to this page using ReadSpeaker
You are currently using guest access
 Log in
e-Learning - UNIMIB
Home Calendar My Media
Percorso della pagina
  1. Science
  2. Master Degree
  3. Data Science [FDS02Q - FDS01Q]
  4. Courses
  5. A.A. 2026-2027
  6. 2nd year
  1. Streaming Data Management and Time Series Analysis
  2. Summary
Insegnamento Course full name
Streaming Data Management and Time Series Analysis
Course ID number
2627-2-FDS02Q023
Course summary SYLLABUS

Course Syllabus

  • Italiano ‎(it)‎
  • English ‎(en)‎
Export

Obiettivi

Il corso si propone di fornire agli studenti metodologie statistiche e di machine learning avanzate per la gestione, l'analisi e la previsione di serie storiche, con particolare attenzione ai contesti di dati in streaming.

  • Conoscenza e capacità di comprensione (DdD 1): Gli studenti acquisiranno una profonda comprensione teorica dei modelli lineari per serie storiche (ARIMA, UCM, VAR), delle formulazioni in spazio degli stati, del filtro di Kalman e degli approcci non parametrici e di machine learning applicati alla previsione.
  • Capacità di applicare conoscenza e comprensione (DdD 2): Gli studenti impareranno a gestire e modellare dati in streaming e serie storiche attraverso l'utilizzo di R o Python, implementando flussi di lavoro accurati di feature engineering e procedure di selezione dei modelli per risolvere problemi empirici di previsione.
  • Autonomia di giudizio (DdD 3): Gli studenti svilupperanno la capacità critica di valutare le prestazioni dei modelli predittivi, eseguire una rigorosa selezione delle variabili e dei modelli, e giudicare quale metodologia sia più adatta in base alla natura specifica e ai limiti dei dati sotto analisi.
  • Abilità comunicative (DdD 4): Attraverso la redazione e l'illustrazione orale di una relazione scritta (paper) incentrata su un esercizio di previsione empirica, gli studenti affineranno la capacità di comunicare risultati statistici complessi, giustificare le scelte metodologiche adottate e presentare chiaramente gli insight derivanti dai dati.
  • Capacità di apprendimento (DdD 5): Il corso fornisce gli strumenti concettuali e l'autonomia di programmazione necessari affinché gli studenti possano esplorare, studiare e applicare in modo indipendente metodi avanzati o di recente sviluppo per l'analisi delle serie storiche nel corso della loro futura carriera professionale o accademica.

Contenuti sintetici

Gestione dei dati in tempo reale, modelli basati su filtri lineari (ARIMA), modelli basati su componenti non osservabili (state-space/Kalman filter), modelli non parametrici (reti neurali, support vector machine, vicini più vicini, ecc.).

Programma esteso

Prima parte

  • Teoria della previsione statistica (miglior previsore e miglior previsore lineare).
  • Processi stazionari e integrati
  • Modelli ARIMA
  • Modelli VAR e cointegrazione (accenni)
  • Modelli a componenti non nosservabili (UCM)
  • Forma state-space
  • Kalman filter e stime di massima verosimiglianza di modelli in forma state-space
  • Smoothing delle variabili di stato e dei disturbi (estrazione comonenti e identificazione di anomalie).
  • Applicazioni a dati reali usando R (o Python)

Seconda parte

  • Principali task di time-series mining
  • Classificazione, regressione e previsione
  • Approcci non-parametrici statistici
  • Approcci non-parametrici basati su Machine Learning
  • Reti Neurali

Prerequisiti

Per seguire l'insegnamento con successo è necessario conoscere l'inferenza statistica, l'algebra matriciale ed R o Python (useremo R nelle lezioni, ma potete utilizzare anche Python se preferite).

Modalità didattica

Lezioni teoriche e pratiche in laboratorio informatico. Ogni lezione sarà un mix di didattica erogativa e interattiva. Ogni volta che un nuovo concetto o strumento teorico verrà spiegato, un'applicazione pratica fatta insieme agli studenti illustrerà la relativa implementazione. Infatti, la teoria serve alla pratica e la pratica aiuta a capire la teoria.

Materiale didattico

Rob J Hyndman and George Athanasopoulos, Forecasting: Principles and Practice (2nd ed): https://otexts.com/fpp2/

Pelagatti M. (2015) Time Series Modelling with Unobserved Component Models. Chapman and Hall/CRC (il libro è scaricabile gratuitamente sotto indirizzo IP di Bicocca).

Abhijit Ghatak (2019) Deep Learning with R. Springer

Altro materiale sarà reso disponibile sulle pagine elearning.

Periodo di erogazione dell'insegnamento

Primo semestre

Modalità di verifica del profitto e valutazione

L'esame è organizzato in due parti. Entro la data dell'esame ciascuno studente dovrà produrre e inviare al docente un elaborato dove una o più serie storiche concordate con il docente dovranno essere analizzate e previste per mezzo di modelli ARIMA, UCM e machine learning. Lo studente illustrerà l'elaborato durante l'orale in una quindicina di minuti e il docente potrà fare domande sul contenuto. Nel medesimo giorno dell'orale vi è anche uno scritto dalla durata di un'ora che prevede la risposta a cinque tra domande teoriche aperte ed esercizi su modelli ARIMA e UCM.

Per superare l'esame entrambe le parti dovranno essere sufficienti e il voto finale sarà calcolato come media aritmetica semplice delle votazioni delle due parti.

La valutazione della parte teorica sarà basata sull'esattezza e la completezza delle risposte alle domande proposte (ogni risposta ha lo stesso peso nel voto). La valutazione dell'elaborato sarà basata sulla qualità dei modelli costruiti e, in particolare, sulle features costruite e sulla selezione dei modelli finali.

Non sono previste prove in itinere.

Orario di ricevimento

Pelagatti: su appuntamento (matteo.pelagatti@unimib.it).

Export

Aims

The course aims to provide students with advanced statistical and machine learning methodologies to handle and model time series data, with a focus on streaming contexts.

  • Knowledge and understanding (DdD 1): Students will acquire a deep theoretical understanding of linear time series models (ARIMA, UCM, VAR), state-space formulations, the Kalman filter, and non-parametric/machine learning approaches for forecasting.
  • Applying knowledge and understanding (DdD 2): Students will learn how to clean, manage, and model streaming and time series data using R (or Python), implementing precise feature engineering and model selection workflows to solve empirical prediction problems.
  • Making judgements (DdD 3): Students will develop the critical capacity to evaluate model performance, execute rigorous model selection, and judge which methodology (linear vs. non-parametric) is most suited to the specific nature and limits of the data under analysis.
  • Communication skills (DdD 4): Through the preparation and oral defense of an empirical project report, students will refine their ability to communicate complex statistical results, justify methodological choices, and present data insights clearly.
  • Learning skills (DdD 5): The course provides students with the foundational toolkit and programming autonomy necessary to explore, study, and apply advanced or newly developed time series methods independently in their future professional or academic career.

Contents

Streaming data management, linear-filter-based models (ARIMA, VAR), unobserved component models (state-space form/Kalman filter), nonparametric methods (nonparametric regression, tree-based methods, neural networks, support vector machines, nearest neighbors, etc.).

Detailed program

First part

  • Theory of statistical prediction (best predictor, best linear predictors).
  • Stationary and integrated processes
  • ARIMA models
  • VAR models and cointegration (basic concepts)
  • Unobserved Component Models (UCM)
  • State-space form
  • Kalman filter and maximum likelihood estimation of the model in state-space form
  • State and disturbance smoothing
  • Many applications to actual data using R (or Python)

Second part

  • Main time series mining tasks
  • Similarity and Clustering
  • Classification, regression, and forecasting
  • Non-parametric approaches based on statistical methods
  • Non-parametric approaches based on machine Learning
  • Artificial Neural Networks

Prerequisites

Attending students should know statistical inference, matrix algebra, and R, or Python (we will adopt R in class, but you can use Python if you prefer).

Teaching form

Theoretical lectures and hands-on sessions in the computer lab. Each lesson will be a mix of lecture-based and interactive teaching. Every time a new theoretical concept or tool is introduced, a practical application carried out together with the students will demonstrate its implementation. In fact, theory serves practice, and practice helps to understand theory.

Textbook and teaching resource

Rob J Hyndman and George Athanasopoulos, Forecasting: Principles and Practice (2nd ed): https://otexts.com/fpp2/

Pelagatti M. (2015) Time Series Modelling with Unobserved Component Models. Chapman and Hall/CRC (il libro è scaricabile gratuitamente sotto indirizzo IP di Bicocca).

Abhijit Ghatak (2019) Deep Learning with R. Springer

Further material will be available in the elearning platform.

Semester

First semester

Assessment method

The examination is organized in two parts. First, by the date of the examination, each student must produce and send to the lecturer a paper in which they have to analyze and predict one or more time series (in agreement with the lecturers) using linear (ARIMA, UCM) and non-linear methods (RNN, SVM, etc.). The student will illustrate the paper during the oral examination in ca. 15 minutes, and the lecturers will ask questions about its content. On the same day of the oral exam, there will also be a one-hour written assessment, which consists in answering five theoretical questions on ARIMA and UCM models.

To pass the exam, both parts must have a positive valuation, and the final grade will be computed as the arithmetic mean of the grades of the two parts.

The evaluation of the theoretical part is based on the exactness and completeness of the answers (each answer is equally weighted). The assessment of the prediction exercise is based on the quality of the modeling. We will pay particular attention to feature engineering and model selection procedures.

No in-course assessments will take place.

Office hours

Pelagatti: by appointment (matteo.pelagatti@unimib.it).

Enter

Key information

Field of research
SECS-S/03
ECTS
6
Term
First semester
Activity type
Mandatory to be chosen
Course Length (Hours)
46
Degree Course Type
2-year Master Degree
Language
English

Staff

    Teacher

  • Matteo Maria Pelagatti
    Matteo Maria Pelagatti

Students' opinion

View previous A.Y. opinion

Bibliography

Find the books for this course in the Library

Enrolment methods

Manual enrolments

You are currently using guest access (Log in)
Policies
Get the mobile app
Powered by Moodle
© 2026 Università degli Studi di Milano-Bicocca
  • Privacy policy
  • Accessibility
  • Statistics