Skip to main content
Moodle@Units
  • Home
  • Calendar
  • Courses
    All courses Fisica Ingegneria e Architettura Matematica e Geoscienze Scienze Chimiche e Farmaceutiche Scienze Economiche, Aziendali, Matematiche e Statistiche Scienze della Vita Scienze Giuridiche, del Linguaggio, dell`Interpretazione e della Traduzione Scienze Politiche e Sociali Studi Umanistici Universitario Clinico di Scienze mediche, chirurgiche e della salute E-learning@Units Centro Linguistico di Ateneo Sistema Bibliotecario di Ateneo Amministrazione Centrale Corsi supplementari PhD - Formazione trasversale La ricerca all'Università di Trieste Moodle Guides Servizi Disabili e DSA Percorso universitario iniziale dei docenti delle scuole secondarie di primo e secondo grado
  • Support
    Moodle Guide for students Moodle Guide for teachers Support Personal data policy
  • More
English ‎(en)‎
English ‎(en)‎ Italiano ‎(it)‎
You are currently using guest access
Log in
Moodle@Units
Home Calendar Courses Collapse Expand
All courses Fisica Ingegneria e Architettura Matematica e Geoscienze Scienze Chimiche e Farmaceutiche Scienze Economiche, Aziendali, Matematiche e Statistiche Scienze della Vita Scienze Giuridiche, del Linguaggio, dell`Interpretazione e della Traduzione Scienze Politiche e Sociali Studi Umanistici Universitario Clinico di Scienze mediche, chirurgiche e della salute E-learning@Units Centro Linguistico di Ateneo Sistema Bibliotecario di Ateneo Amministrazione Centrale Corsi supplementari PhD - Formazione trasversale La ricerca all'Università di Trieste Moodle Guides Servizi Disabili e DSA Percorso universitario iniziale dei docenti delle scuole secondarie di primo e secondo grado
Support Collapse Expand
Moodle Guide for students Moodle Guide for teachers Support Personal data policy
Expand all Collapse all
  1. 452SM - DEEP LEARNING 2020
  2. Part I
  3. Homework 5

Homework 5

Completion requirements
Opened: Friday, 9 April 2021, 12:00 AM
Due: Wednesday, 21 April 2021, 12:00 AM

Note: the notebook for the lecture has been extended with more notes and a more verbose implementation of the pruning masks for additional clarity. Please pull the repo to get these updates.

Note2: due to the limited time during yesterday's lab, I will be repeating the theoretical background behind pruning on Tuesday 13, after the student's presentation. As a consequence of that, the due date for this homework will be one week away from Tuesday (April 20 at midnight). Moreover, if you have questions concerning yesterday's lab, please prepare them for next Tuesday.

Starting from the implementation contained within the notebook `05-pruning.ipynb`, extend the  `magnitude_pruning` function to allow for incremental (iterative) pruning. In the current case, if you try pruning one more time, you'll notice that it will not work as there's no way to communicate to the future calls of `magnitude_pruning` to ignore the parameters which have already been pruned. Find a way to enhance the routine s.t. it can effectively prune networks in a sequential fashion (i.e., if we passed an MLP already pruned of 20% of its parameters, we want to prune *another* 20% of parameters).

Hint: make use the mask.

Contact site support
You are currently using guest access (Log in)
Get the mobile app
Powered by Moodle