StudyToCert

All certifications / Azure AI Fundamentals / Lessons

Microsoft Certified: Azure AI Fundamentals AI-900 · Domain 2: Fundamental principles of machine learning on Azure

Clustering: grouping unlabeled data, and supervised vs unsupervised learning

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Sometimes you have lots of data but no answers attached to it. Clustering is a way for a computer to look at that data and put similar items into groups on its own. Imagine dumping a big box of mixed buttons on a table and sorting them into piles by size and color without anyone telling you what the piles should be. That is clustering. Afterward, a person looks at each pile and decides what it means. This is called unsupervised learning, because nobody supplies the right answers. Its opposite is supervised learning, where every example in the training data comes with a known answer, like a stack of emails already marked spam or not spam, and the model learns to predict that answer.

It is Monday morning at Lantern Books, an online bookshop, and the marketing director, Theo, drops a spreadsheet on your desk. Eighty thousand customers, each with purchase counts, average spend and favorite genres. He wants targeted campaigns, but he does not know what groups his customers fall into. There is no column saying 'bargain hunter' or 'loyal fan'. Your teammate suggests training a classifier. Another says that is impossible without labels. Who is right, and what kind of machine learning can find groups that nobody has named yet?

Clustering is unsupervised machine learning that groups similar items together. Unlike regression and classification, the training data has no label column and no right answer. The algorithm looks only at the features, such as how often a customer buys, how much they spend and what they browse, and decides which items are alike. The output is a group number, called a cluster, assigned to each item.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 5 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Azure AI Fundamentals for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Azure AI Fundamentals study plan