Labeled SetGet the app
Menu

Concept · filed under Machine learning basics (AI-900)

Supervised vs unsupervised learning: regression, classification, clustering

The difference is the labels. If every training example comes with the answer attached, the learning is supervised; if there are no answers, it is unsupervised and the model looks for structure on its own. AI-900 built three model types on that split: regression predicts a number, classification predicts a category, and clustering groups unlabeled data. AI-901 dropped the classic machine learning techniques from its outline, so this page is AI-900 material kept as background.

  • ExamAI-901 (replaced AI-900 on June 30, 2026)
  • ScopeAI-900 only · not on AI-901
  • Questions here7
  • UpdatedOct 19, 2026

Fig. 1

Start hourRide lengthCommutesErrandsLeisure rides
Fig. 1 Clustering on bike-share rides: no labels went in. A person named the three groups afterward.

Table 1

Three model types, two kinds of learning

Regression, classification and clustering, as AI-900 framed them
PointRegressionClassificationClustering
Learning typeSupervisedSupervisedUnsupervised
Labels in training dataYes, numbersYes, categoriesNone
OutputA numberOne of two or more categoriesA group for each item
ExampleMinutes until a pizza arrivesWhich of three plant species a leaf belongs toBike-share rides with similar patterns
Judged byHow far predictions land from real valuesHow many labels it gets right, and which onesHow tight and separate the groups are

Reading a scenario the AI-900 way

AI-900 asked this as a scenario: here is what a business wants to predict, which type of machine learning is it? The output decided. A quantity is regression, even when it is a whole number such as units sold next week. A choice between named options is classification, even when the model also reports a probability. If nobody has the answers to train on, it is clustering.

Features and labels carry the rest. Features are the inputs the model looks at, such as start hour, ride length and station; the label is the value it learns to predict. Unsupervised data has features and no label.

“Unsupervised” sounds more adventurous than it is. A person usually chooses how many clusters to look for and names them afterward, as with the rides in the figure.

The vocabulary outlived the exam. A churn score or a sales forecast is still a supervised model doing what AI-900 described, while the generative models AI-901 cares about learn by predicting the next token across huge amounts of text; that side is under how generative AI models work. Once a classifier exists, the next question is how good it is: see precision vs recall. The rest of the AI-900 machine learning material, Azure Machine Learning included, is under machine learning basics.

Three questions before you pick

  • Is there a known answer in the training data? If not, it is clustering.
  • Is the answer a quantity? Then it is regression.
  • Is the answer one of a set of named options? Classification: binary with two options, multiclass with more.

Worksheet

AI-900 model types, for practice

Retired AI-900 material, kept because the vocabulary still turns up in every model report. Read the output first.

Questions come in batches of five. Pick an answer for each, then evaluate the batch: notes on all four options open under every question.

Accuracy by batch

0 evaluated · 0 right · 7 to go

Batch 1 questions 1–5

  1. 01

    What is the primary difference between supervised and unsupervised learning in Azure ML?

    Your label —The notes on all four options open when this batch is evaluated.

  2. 02

    Which type of machine learning does not require labeled data?

    Your label —The notes on all four options open when this batch is evaluated.

  3. 03

    What are labels in supervised machine learning?

    Your label —The notes on all four options open when this batch is evaluated.

  4. 04

    Which type of machine learning is most appropriate when predicting continuous numerical values, such as house prices?

    Your label —The notes on all four options open when this batch is evaluated.

  5. 05

    Which machine learning type is most appropriate for predicting whether an email is spam or not?

    Your label —The notes on all four options open when this batch is evaluated.

0 of 5 labeled

Batch 2 questions 6–7

  1. 06

    Which type of machine learning is best suited for grouping similar customers together based on their shopping behavior?

    Your label —The notes on all four options open when this batch is evaluated.

  2. 07

    In machine learning, what are features?

    Your label —The notes on all four options open when this batch is evaluated.

0 of 2 labeled

Labels, asked about

What is the difference between supervised and unsupervised learning?

Supervised learning trains on examples where the right answer is known and learns to predict it for new data. Unsupervised learning has no answers to learn from and looks for structure instead, such as groups of similar items.

Is regression supervised or unsupervised?

Supervised. A regression model trains on examples whose numeric outcome is already known.

Is machine learning on the AI-901 exam?

Not as a section. Machine learning techniques were 15–20% of AI-900 (AI-900 study guide, skills as of May 2, 2025); the current AI-901 study guide leaves them out.