Apprendimento supervisionato e non supervisionato
Imparare senza etichette.
Apprendimento supervisionato e non supervisionato è una lezione Data Science Academy gratuita su CoddyKit. Questa è la lezione 1 di 4. Puoi leggere la lezione completa qui gratuitamente — poi esercitati direttamente nel browser con un editor di codice integrato e un tutor IA disponibile 24/7. Fa parte del percorso di apprendimento Data Science Academy, e i tuoi progressi si sincronizzano tra il web e l'app CoddyKit. Il corso Data Science Academy include 4 lezioni in totale.
Parti di questa lezione non sono ancora state tradotte e vengono mostrate in inglese.
Two Ways to Learn
Machine learning splits into two big families: supervised learning, which uses labeled answers, and unsupervised learning, which does not. 🧭
Labels Are the Key
In supervised learning, every row carries a known label, the correct answer the model tries to predict for new data.
Learning From Examples
Supervised models study pairs of inputs and labels, then generalize that mapping to predict labels they have never seen.
No Answers Provided
Unsupervised learning has no labels at all. The algorithm must find structure in the data on its own, with nothing telling it what is right.
Clustering Finds Groups
The most common unsupervised task is clustering: grouping similar rows together so that natural segments emerge from raw data.
Similarity Drives It
Clustering decides who belongs together using a measure of distance, like Euclidean distance between feature values.
A Familiar Example
Sorting shoppers into segments by what they buy, with no preset categories, is classic clustering in action.
You Cannot Just Score It
Without labels, there is no simple accuracy to check. You judge clusters by how cohesive and well separated they are.
Same Data, Different Goal
The same table can feed either approach: add a target column for supervised work, or hold it back to let structure reveal itself.
Where Each Shines
Reach for supervised learning when you have a clear answer to predict; choose unsupervised when you want to explore unknown patterns.
It Lives in scikit-learn
Both families share one library. Clustering tools sit under sklearn.cluster, ready alongside the classifiers you already know.
from sklearn.cluster import KMeansQuick Check
Let us pin down what makes a task unsupervised.
Recap
Supervised learning predicts known labels; unsupervised learning, like clustering, discovers hidden groups when no labels exist. 🎯
Domande Frequenti
La lezione «Apprendimento supervisionato e non supervisionato» è gratuita?
Sì — il testo completo di «Apprendimento supervisionato e non supervisionato» è gratuito qui sul web. Per esercitarvi in modo interattivo (un editor di codice integrato e un tutor IA 24/7) e sbloccare il resto del corso Data Science Academy, passa a CoddyKit PRO. Il corso Data Science Academy include 4 lezioni in totale.
Cosa imparerò in «Apprendimento supervisionato e non supervisionato»?
Imparare senza etichette. Eserciti Data Science Academy con codice pratico che esegui direttamente nel browser, e un tutor IA 24/7 risponde alle tue domande mentre lavori sulla lezione.
Ho bisogno di esperienza per iniziare Data Science Academy?
Non è richiesta alcuna esperienza precedente. Data Science Academy su CoddyKit è strutturato per principianti e studenti avanzati, quindi puoi iniziare da qui o dall'inizio e procedere al tuo ritmo. Questa è la lezione 1 di 4.
Quanto tempo richiede la lezione «Apprendimento supervisionato e non supervisionato»?
La maggior parte delle lezioni CoddyKit richiede circa 5–10 minuti. Ogni lezione è breve e interattiva, quindi fai progressi costanti e riprendi esattamente da dove hai lasciato su web e app.
Posso scrivere ed eseguire codice in questa lezione Data Science Academy?
Sì. Ogni lezione Data Science Academy include un editor di codice integrato, quindi scrivi ed esegui codice reale direttamente nel tuo browser e ricevi feedback istantaneo dall'IA — nessuna configurazione locale necessaria.
Tutte le lezioni di questo corso
- Apprendimento supervisionato e non supervisionato
- k-Means e scelta di k
- Clustering gerarchico e DBSCAN
- Profilare e nominare i cluster