What feelings do we experience when we read a text that particularly strikes us or listen to a piece of music that we are particularly fond of? Now let's change our perspective: how are the sentence or piece of music “perceived” by a machine learning algorithm? Starting from these questions, the authors developed a workshop activity for a grade 5 high school class, based on some simple models to discover the mathematics behind algorithms. From the “bags of words” model for text processing to the “Mel spectrogram” for mapping musical pieces, the students were able to classify and compare, in a practical and intuitive way, texts and songs of interest to them, entering into a lively and engaging world of mathematics, capable of combining techniques and concepts learned in the classroom with modern and current technologies.
Quali sensazioni proviamo quando leggiamo un testo che ci colpisce particolarmente o ascoltiamo un brano musicale al quale siamo particolarmente legati? Ora cambiamo punto di vista: come vengono “percepiti” la frase o il brano musicale da un algoritmo di machine learning? A partire da queste domande, è stata sviluppata dagli autori un’attività laboratoriale, in una classe V di liceo, basata su alcuni semplici modelli per scoprire la matematica che c’è dietro gli algoritmi. Dal modello "bags of words" per l’elaborazione di testi allo “spettrogramma Mel” per la mappatura dei brani musicali, gli studenti hanno potuto classificare e confrontare, in maniera pratica e intuitiva, testi e canzoni di loro interesse, entrando in una matematica viva e coinvolgente, capace di coniugare tecniche e concetti noti dalle lezioni curriculari con tecnologie moderne e attuali.
Spettri e oscuri aforismi si aggirano per la scuola / Mazza, Lorenzo; Passaro, Davide; Veredice, Antonio. - (2025), pp. 227-228. (Intervento presentato al convegno Incontri con la Matematica n. 39 tenutosi a Castel San Pietro Terme (BO)).
Spettri e oscuri aforismi si aggirano per la scuola
Mazza, Lorenzo;Passaro, Davide;Veredice, Antonio
2025
Abstract
What feelings do we experience when we read a text that particularly strikes us or listen to a piece of music that we are particularly fond of? Now let's change our perspective: how are the sentence or piece of music “perceived” by a machine learning algorithm? Starting from these questions, the authors developed a workshop activity for a grade 5 high school class, based on some simple models to discover the mathematics behind algorithms. From the “bags of words” model for text processing to the “Mel spectrogram” for mapping musical pieces, the students were able to classify and compare, in a practical and intuitive way, texts and songs of interest to them, entering into a lively and engaging world of mathematics, capable of combining techniques and concepts learned in the classroom with modern and current technologies.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


