AI Dictionary › Fondamenti AI
Classificazione
Classification is the machine learning task of assigning an observation to a predefined category among a finite set of possibilities, rather than predicting a number as regression does. An email is spam or not spam, an image contains a cat or a dog, a customer will renew or cancel: in all these cases the model chooses among discrete labels.
Classification is the machine learning task of assigning an observation to a predefined category among a finite set of possibilities, rather than predicting a number as regression does. An email is spam or not spam, an image contains a cat or a dog, a customer will renew or cancel: in all these cases the model chooses among discrete labels.
A classifier learns from already-labeled examples (supervised learning) to recognize the patterns that distinguish one class from another. During training it compares its predictions with the true labels and adjusts its parameters to reduce errors. When there are two possible classes it is called binary classification, when there are more than two it is multiclass classification, and when an observation can belong to several categories at once it is multi-label classification.
It is one of the most widespread tasks in applied AI: image recognition, AI-assisted medical diagnosis, automated content moderation, customer support ticket routing, fraud detection. Almost every family of machine learning algorithms, from decision trees to neural networks, has a variant designed for classification, and it is often the first problem used to benchmark a new model or dataset.
The term comes from the Latin classis, crossed with the scientific practice of sorting objects into categories, a tradition tracing back to eighteenth-century biological taxonomy. In statistics and later in computing, classification took hold in the mid-twentieth century to describe exactly this: assigning items to predefined groups based on their observable characteristics, an idea far older than machine learning but one that machine learning made automatable at scale.
La classificazione è il compito di machine learning che consiste nell'assegnare un'osservazione a una categoria predefinita tra un insieme finito di possibilità, invece di prevedere un numero come fa la regressione. Un'email è spam o non spam, un'immagine contiene un gatto o un cane, un cliente rinnoverà o disdirà: in tutti questi casi il modello sceglie tra etichette discrete.
Un classificatore impara da esempi già etichettati (apprendimento supervisionato) a riconoscere i pattern che distinguono una classe dall'altra. Durante l'addestramento confronta le proprie previsioni con le etichette vere e aggiusta i propri parametri per ridurre gli errori. Quando le classi possibili sono due si parla di classificazione binaria, quando sono più di due di classificazione multiclasse, e quando un'osservazione può appartenere contemporaneamente a più categorie di classificazione multi-etichetta.
È uno dei compiti più diffusi nell'AI applicata: riconoscimento di immagini, diagnosi mediche assistite, moderazione automatica dei contenuti, instradamento delle richieste di supporto clienti, rilevamento di frodi. Quasi ogni famiglia di algoritmi di machine learning, dagli alberi decisionali alle reti neurali, ha una variante pensata per la classificazione, ed è spesso il primo problema con cui si valuta un nuovo modello o dataset.
Il termine nasce dal latino classis, incrociato con la pratica scientifica di ordinare gli oggetti in categorie, una tradizione che risale alla tassonomia biologica del Settecento. In statistica e poi in informatica il termine classificazione si è affermato a metà Novecento per indicare esattamente questo: assegnare elementi a gruppi predefiniti sulla base delle loro caratteristiche osservabili, un'idea molto più antica del machine learning ma che quest'ultimo ha reso automatizzabile su scala.
From our network
AGORÀ Intelligence — Enterprise AI Governance Platform
Govern AI at scale: policies, adoption and measurable results on your data. Built for boards and C-suite.
Visit agora-intelligence.com →From the Agora Intelligence blog
📱 Download the Android app (beta) iOS coming soon
Say what you mean. Get what you need.
Grace Certified — the AI coach that trains and certifies your prompt engineering — by Agora Intelligence.