Skip to main content
INF - e-learning - Dipartimento di Informatica
You are currently using guest access (Log in)

Intelligent Systems for Pattern Recognition - 9 CFU

  1. Home
  2. Courses
  3. Corso di Laurea Magistrale in Informatica (LM-18)
  4. ISPR (9 CFU)
  5. Midterms and Projects
  6. Midterm 3 (2025)

Midterm 3 (2025)

Completion requirements
Due: Tuesday, 20 May 2025, 2:00 PM

Assignment Rules and Execution

The third midterm covers the deep learning techniques up to Lecture 27. To pass the midterm you should 

  1. perform one (only one) of the assignments described in the following;
  2. report your results as a Colab notebook or a 10 slide presentation (both versions are equally fine) and upload it here by the (strict) deadline;

In case you are delivering a Colab notebook, please upload a txt file with the link to your Colab notebook (already ran).

You can use library functions to perform the analysis unless explicitly indicated. You can use whatever programming language you like, but I strongly suggest to use either Python or Matlab for which you have coding examples. Python will further allow you to deliver your midterm as a Colab notebook, but this is not a requirement (you can deliver a presentation instead).

Your report (irrespectively of whether it is a notebook or a presentation) needs to cover at least the following aspects (different assignments might have different additional requirements):

  1. A title with the assignment number and your name
  2. The full code to run your analysis (for Colabs) or a few slides (for presentations) with code snippets highlighting the key aspects of your code
  3. A section reporting results of the analysis and your brief comments on it
  4. A final section with your personal considerations (fun things, weak aspects, possible ways to enhance the analysis, etc.).

Do not waste time and space to describe the dataset or the assignment you are solving as we will all be already informed on it.

Assignment 1


DATASET (CIFAR10): https://www.cs.toronto.edu/~kriz/cifar.html

Train a denoising autoencoder on the CIFAR10 dataset. It is up to you to decide how many layers and neurons in each layer and how many layers you want in the deep autoencoder. Train two versions of the autoencoder, one using dense layers and une using convolutional layers. Show an accuracy comparison between the different autoencoders.

Assignment 2

DATASET (HORSES): www.kaggle.com/datasets/ztaihong/weizmann-horse-database/data

Implement your own convolutional network to solve problem of horse semantic segmentation from the background in the Horses Dataset. Choose your favourite convolutional-type architecture to solve the problem and motivate your choice. The design decisions about how many layers, the type of layers and how they are interleaved, the type of pooling, the use of residual connections, etc. are also on you.  Train and validate the model on the data as appropriate in Machine Learning an provide a measure of segmentation accuracy.

Assignment 3

DATASET (AIR QUALITY): https://archive.ics.uci.edu/dataset/360/air+quality

Train a neural network for sequences of your choice (LSTM, GRU, Convolutional, Clockwork RNN, ...) to predict the Benzene (C6H6 column) based on the sensor measurements timeseries (PT08.* columns) being fed in input to the recurrent model. Evaluate the predictive accuracy of the network on the task (using appropriately training/validation splits).  Confront the perfomance of this model, with another recurrent neural network trained to predict benzene one-step-ahead, i.e. given the current benzene measuement, predict its next value. Show and compare performance of both settings.

Assignment 4
DATASET (Airline reviews): https://www.kaggle.com/datasets/khushipitroda/airline-reviews

The dataset contains text of online travel reviews (in Column Review) with an associated Rating (column Overall_Rating). The objective is to train a classifier to predict the rating from the Review text. You are free to choose the model's architecture, but you should describe and justify your design choices.  Train the model and assess it as appropriate in machine learning. You are allowed to preprocess the data however you want (e.g. using pretrained embeddings, dropping some features, just a bag-of-words), but the predictive model must be trained by yourself from scratch (no pretrained predictor). 

Assignment 5

DATASET (PROTEIN): https://www.kaggle.com/code/danofer/deep-protein-sequence-family-classification

The dataset contains proteins represented as sequences of aminoacids. To reduce the complexity of the problem select only protein sequences that have length smaller than 200. Train a sequence to sequence architecture to learn the "dumb" task of reconstruncting as an output sequence the reversed version of the input sequence. Details of the sequence to sequence architecture can be freely choosen by you, including which backbone neural network to use, if and how to use attention, etc. Assess the reconstruction error of your model and comment the results.

◄ Midterm 2 (2025)
Final Project Delivery - Session 10 (Spring 2025, restricted session) ►

Blocks

Skip Navigation

Navigation

  • Home

    • Site pages

      • My courses

      • Tags

      • ForumSite news

    • My courses

    • Courses

      • Corso di Laurea Magistrale in Informatica (LM-18)

        • CNS 2025

        • CMCS 2025

        • P2P2425

        • IQC(24-25)

        • ADB 24/25

        • CL 24/25

        • ICT-RA

        • AIF24-25

        • ML 2024

        • CM24

        • SDC 24/25

        • ISPR (9 CFU)

          • Intelligent Systems for Pattern Recognition - 9 CFU

          • Course Information

          • Introduction (2h)

          • Fundamentals of Pattern Recognition (6h)

          • Probabilistic (Generative) Learning (30h)

          • Deep Learning (18h)

          • Generative Deep Learning (10h)

          • Course Grading and Exams

          • Midterms and Projects

            • AssignmentMidterm 1 (2025)

            • AssignmentMidterm 2 (2025)

            • AssignmentMidterm 3 (2025)

            • AssignmentFinal Project Delivery - Session 10 (Spring 2025, ...

          • Bibliography

      • Corso di Laurea in Informatica (L-31)

      • Corso di Laurea Magistrale in Informatica e Networ...

      • Corso di Laurea Magistrale in Data Science and Bus...

      • Corso di Laurea Magistrale in Informatics for Digi...

      • Corsi erogati dal Dipartimento di Matematica

      • Master di II livello in "Professione formatore in ...

      • Corsi CLIL

      • Altri Corsi

      • Anno Accademico 2013-14

Blocks

You are currently using guest access (Log in)
ISPR (9 CFU)
Data retention summary
Get the mobile app